lib/components/db/fields/Base.php
public function setModel($value)
    {
        $this->_model = $value;
        if (is_object($value) && $this->_attributes) {
            $this->_model->attributes = $this->_attributes;
        }

        return true;
    }
public function setModel($value)
    {
        $this->_model = $value;
        if (is_object($value) && $this->_attributes) {
            $this->_model->attributes = $this->_attributes;
        }

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

@param unknown $value

@return unknown
Set model .