classes/database/orm.php
/**
	 * Callback invoked before the row is updated.
	 * Can be extended by the child model.
	 *
	 * @param $data the array of columns being updated
	 * @return array
	 */
Callback invoked before the row is updated.
Can be extended by the child model.

@param $data the array of columns being updated
@return array
Callback invoked before the row is updated . Can be extended by the child model . @param $data the array of columns being updated @return array
protected function update(array $data = NULL)
	{
		$this->_db->update($this->name(), $data, array($this->_primary_key => $this->pk()));
		$this->saved = TRUE;
	}
protected function update ( array $ data = NULL ) { $ this -> _db -> update ( $ this -> name ( ) , $ data , array ( $ this -> _primary_key => $ this -> pk ( ) ) ) ; $ this -> saved = TRUE ; }
Callback invoked before the row is updated.
Callback invoked before the row is updated .
// Execute Update Statement // Object has been saved