code: public function setModel($value)
      {
          $this->_model = $value;
          if (is_object($value) && $this->_attributes) {
              $this->_model->attributes = $this->_attributes;
          }
  
          return true;
      }
docs: Set model.
  
  @param unknown $value
  
  @return unknown