Project

General

Profile

Feature #20490 » 0011167_v2.diff

Administrator Admin, 2009-05-27 22:25

View differences:

t3lib/class.t3lib_frontendedit.php (working copy)
}
/**
* Saves a record based on its data array and closes it.
*
* @param string The table name for the record to save.
* @param integer The UID for the record to save.
* @return void
* @note This method is only a wrapper for doSave() but is needed so
* so that different content can be rendered by the frontend
* editing views. For example, pages return an editing form
* when saved but a redirect url when saved and closed.
*/
public function doSaveAndClose($table, $uid) {
$this->doSave($table, $uid);
}
/**
* Stub for closing a record. No real functionality needed since content
* element rendering will take care of everything.
*
(2-2/2)