Advertisement
bastetmilo

Untitled

Apr 16th, 2014
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.98 KB | None | 0 0
  1. CException
  2.  
  3. Właściwość "AppWebUser.email" nie jest zdefiniowana.
  4.  
  5. /Users/maciej/Sites/optymalizator.local/www/framework/web/auth/CWebUser.php(146)
  6.  
  7. 134
  8. 135     /**
  9. 136      * PHP magic method.
  10. 137      * This method is overriden so that persistent states can be accessed like properties.
  11. 138      * @param string $name property name
  12. 139      * @return mixed property value
  13. 140      */
  14. 141     public function __get($name)
  15. 142     {
  16. 143         if($this->hasState($name))
  17. 144             return $this->getState($name);
  18. 145         else
  19. 146             return parent::__get($name);
  20. 147     }
  21. 148
  22. 149     /**
  23. 150      * PHP magic method.
  24. 151      * This method is overriden so that persistent states can be set like properties.
  25. 152      * @param string $name property name
  26. 153      * @param mixed $value property value
  27. 154      */
  28. 155     public function __set($name,$value)
  29. 156     {
  30. 157         if($this->hasState($name))
  31. 158             $this->setState($name,$value);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement