Ejemplo n.º 1
0
 /**
  * Set a request properties
  * 
  * This function also pushes any request changes into the model
  *
  * @param  	string 	The property name.
  * @param 	mixed 	The property value.
  */
 public function __set($property, $value)
 {
     parent::__set($property, $value);
     //Prevent state changes through the parents constructor
     if ($this->_model instanceof KModelAbstract) {
         $this->getModel()->set($property, $value);
     }
 }