/** * Sets the attribute of the model * @param string $name * @param mixed $value * @return bool */ public function setAttribute($name, $value) { // At the moment the projection is restricted to only fields returned in result set // Uncomment this to change that //if($this->getIsPartial()) // $this->_projected_fields[$name] = 1; return parent::setAttribute($name, $value); }