Feature #20490 » 0011167_v2.diff
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.
|
||
*
|
- « Previous
- 1
- 2
- Next »