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); }
function __construct($c, $n){ parent::__construct($c, $n); if (!$this->get('idr')) {$this->set('idr', new ItemDefinitionReader());} }
/** * Class constructor * Creates and stores a new instance of the UserManager **/ public function __construct($c, $n) { parent::__construct($c, $n); $this->usermanager = new UserManager(); }