_data = $args[0]; $this->_construct(); } /** * Constructor for covering */ protected function _construct() { } /** * Retrieve controller * @return Maged_Controller */ public function controller() { return Maged_Controller::singleton(); } /** * Set value for key * * @param string $key * @param mixed $value * @return Maged_Model */ public function set($key, $value) { $this->_data[$key] = $value; return $this; } /** * Get value by key * * @param string $key * @return mixed */ public function get($key) { return isset($this->_data[$key]) ? $this->_data[$key] : null; } }