function __construct($c, $n)
 {
     $this->o =& $c->getObserver();
     $this->o->append('Default.debug.steps', __CLASS__ . '.' . __FUNCTION__);
     $this->set('viewprefs', array('status', 'profile', 'housing', 'journal', 'pm', 'store', 'trade', 'www', 'aim', 'yim', 'msn', 'icq'));
     parent::__construct($c, $n);
 }
示例#2
0
	function __construct($c, $n){
        parent::__construct($c, $n);
        if (!$this->get('idr')) {$this->set('idr', new ItemDefinitionReader());}        
    }
示例#3
0
 /**
  * Class constructor
  * Creates and stores a new instance of the UserManager
  **/
 public function __construct($c, $n)
 {
     parent::__construct($c, $n);
     $this->usermanager = new UserManager();
 }