/** * Object setter * @param string $a_name * @param mixed $a_value * @return mixed */ public function __set($a_name, $a_value) { if (!$this->m_this) { parent::__set($a_name, $a_value); } $this->m_this->{$a_name} = $a_value; }
/** * Construct */ public function __construct(Zoombi_Object &$a_parent = null, $a_name = null) { parent::__construct($a_parent, $a_name); $this->m_rules = array(); $this->m_request = new Zoombi_Route(); $this->m_redirect = new Zoombi_Route(); $this->m_current = new Zoombi_Route(); $this->m_request = null; }
/** * Constructor * @param Zoombi_Controller $a_controller * @param string $a_view */ public function __construct($a_view = null, $a_data = null) { parent::__construct(); $this->m_data = new Zoombi_Registry(); if ($a_view) { $this->setView($a_view); } if ($a_data) { $this->m_data->setDataRef($a_data); } }
/** * Constructor * @param Zoombi_Object $a_parent * @param string $a_name */ public function __construct(Zoombi_Object &$a_parent = null, $a_name = null) { parent::__construct($a_parent, $a_name); $this->m_listeners = array(); $this->m_processor = array(); }
public function hasProperty($a_name) { if (in_array($a_name, self::$m_reserved)) { return true; } return parent::hasProperty($a_name); }
public function __construct(Zoombi_Object &$a_parent = null, $a_name = null) { parent::__construct($a_parent, $a_name); }