Index: t3lib/class.t3lib_frontendedit.php =================================================================== --- t3lib/class.t3lib_frontendedit.php (revision 5476) +++ t3lib/class.t3lib_frontendedit.php (working copy) @@ -648,6 +648,22 @@ } /** + * 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. *