mtv\models\Model::reload PHP Method

reload() public method

Update this model with data from permanent storage
public reload ( &$data )
    public function reload(&$data)
    {
        // Parse raw data from the DB
        $tmp =& $this->parse($data);
        // Reset any change tracking
        $this->_previous_attributes = array();
        $this->_synchronized = true;
        // Set the attributes
        $this->set($tmp, true);
    }