Пример #1
0
 public function __construct($id = null)
 {
     if (empty($id)) {
         $this->set('name', JText::_('COM_KOMENTO_GUEST'));
         $this->set('username', JText::_('COM_KOMENTO_GUEST'));
     }
     parent::__construct($id);
 }
Пример #2
0
 /**
  * Constructor activating the default information of the language
  *
  * @access 	protected
  */
 function __construct($identifier = 0)
 {
     parent::__construct($identifier);
 }
Пример #3
0
 public function __construct($identifier = 0)
 {
     parent::__construct($identifier);
     $this->_user = JFactory::getUser($identifier);
     $this->_user->cck_multisite = 1;
 }