Jump to content
Larry Ullman's Book Forums

SohaibKtb

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by SohaibKtb

  1. CException

    Property "RegisterForm.pass" is not defined.

    /opt/lampp/htdocs/yii1.1/framework/web/helpers/CHtml.php(2760)

    2748             $name=substr($attribute,0,$pos);
    2749             $value=$model->$name;
    2750             foreach(explode('][',rtrim(substr($attribute,$pos+1),']')) as $id)
    2751             {
    2752                 if((is_array($value) || $value instanceof ArrayAccess) && isset($value[$id]))
    2753                     $value=$value[$id];
    2754                 else
    2755                     return null;
    2756             }
    2757             return $value;
    2758         }
    2759         else
    2760             return $model->$attribute;
    2761     }
    2762 
    2763     /**
    2764      * Appends {@link errorCss} to the 'class' attribute.
    2765      * @param array $htmlOptions HTML options to be modified
    2766      */
    2767     protected static function addErrorCss(&$htmlOptions)
    2768     {
    2769         if(empty(self::$errorCss))
    2770             return;
    2771 
    2772         if(isset($htmlOptions['class']))

     

     

     

     

     

×
×
  • Create New...