classes/database/orm.php
/**
	 * Reloads the current object from the database.
	 *
	 * @return object
	 */
Reloads the current object from the database.
@return object
Reloads the current object from the database . @return object
public function reload()
	{
		$primary_key = $this->pk();
		$this->_object = $this->_changed = $this->_related = array();
		$this->_object[$this->_primary_key] = $primary_key;
		$this->load();
		return $this;
	}
public function reload ( ) { $ primary_key = $ this -> pk ( ) ; $ this -> _object = $ this -> _changed = $ this -> _related = array ( ) ; $ this -> _object [ $ this -> _primary_key ] = $ primary_key ; $ this -> load ( ) ; return $ this ; }
Reloads the current object from the database.
Reloads the current object from the database .
// Replace the object and reset the object status // Reset the key //Reload