ILIAS
Release_4_4_x_branch Revision 61816
|
Class ilDataCollectionRecordEditGUI. More...
Public Member Functions | |
__construct (ilObjDataCollectionGUI $parent_obj) | |
Constructor. | |
executeCommand () | |
execute command | |
create () | |
create Record | |
edit () | |
edit Record | |
confirmDelete () | |
confirmDelete | |
cancelDelete () | |
cancelDelete | |
delete () | |
initForm () | |
init Form | |
getValues () | |
get Values | |
cancelUpdate () | |
cancelSave () | |
save () | |
save Record | |
searchObjects () | |
This function is only used by the ajax request if searching for ILIAS references. |
Private Member Functions | |
accessDenied () | |
sendFailure () | |
parseSearchResults ($a_res) | |
Parse search results. |
Private Attributes | |
$record_id | |
$table_id | |
$table | |
$parent_obj |
Class ilDataCollectionRecordEditGUI.
Definition at line 19 of file class.ilDataCollectionRecordEditGUI.php.
ilDataCollectionRecordEditGUI::__construct | ( | ilObjDataCollectionGUI | $parent_obj | ) |
Constructor.
Definition at line 31 of file class.ilDataCollectionRecordEditGUI.php.
References $_GET, $_REQUEST, $parent_obj, and ilDataCollectionCache\getTableCache().
|
private |
ilDataCollectionRecordEditGUI::cancelDelete | ( | ) |
cancelDelete
Definition at line 116 of file class.ilDataCollectionRecordEditGUI.php.
References $ilCtrl.
ilDataCollectionRecordEditGUI::cancelSave | ( | ) |
Definition at line 289 of file class.ilDataCollectionRecordEditGUI.php.
References cancelUpdate().
ilDataCollectionRecordEditGUI::cancelUpdate | ( | ) |
Definition at line 280 of file class.ilDataCollectionRecordEditGUI.php.
References $ilCtrl.
Referenced by cancelSave().
ilDataCollectionRecordEditGUI::confirmDelete | ( | ) |
confirmDelete
Definition at line 93 of file class.ilDataCollectionRecordEditGUI.php.
References $ilCtrl, $lng, $tpl, and ilDataCollectionCache\getRecordCache().
ilDataCollectionRecordEditGUI::create | ( | ) |
create Record
Definition at line 68 of file class.ilDataCollectionRecordEditGUI.php.
References $ilCtrl, $tpl, and initForm().
ilDataCollectionRecordEditGUI::delete | ( | ) |
Definition at line 126 of file class.ilDataCollectionRecordEditGUI.php.
References $ilCtrl, $lng, accessDenied(), ilDataCollectionCache\getRecordCache(), and ilUtil\sendSuccess().
ilDataCollectionRecordEditGUI::edit | ( | ) |
edit Record
Definition at line 80 of file class.ilDataCollectionRecordEditGUI.php.
References $ilCtrl, $tpl, getValues(), and initForm().
ilDataCollectionRecordEditGUI::executeCommand | ( | ) |
ilDataCollectionRecordEditGUI::getValues | ( | ) |
get Values
Definition at line 251 of file class.ilDataCollectionRecordEditGUI.php.
References $img, ilObjMediaObject\_lookupItemPath(), ilDataCollectionCache\getRecordCache(), and ilDataCollectionDatatype\INPUTFORMAT_MOB.
Referenced by edit().
ilDataCollectionRecordEditGUI::initForm | ( | ) |
init Form
string | $a_mode | values: create | edit |
Definition at line 147 of file class.ilDataCollectionRecordEditGUI.php.
References $ilCtrl, $lng, $options, $tpl, ilObjDataCollection\_hasWriteAccess(), ilDataCollectionCache\getFieldCache(), ilDataCollectionDatatype\getInputField(), ilDataCollectionCache\getRecordCache(), ilDataCollectionCache\getTableCache(), ilObject2\getTitle(), ilDataCollectionDatatype\INPUTFORMAT_DATETIME, ilDataCollectionDatatype\INPUTFORMAT_FILE, ilDataCollectionDatatype\INPUTFORMAT_MOB, and ilDataCollectionDatatype\INPUTFORMAT_REFERENCE.
Referenced by create(), edit(), and save().
|
private |
Parse search results.
ilObject[] | $a_res |
Definition at line 474 of file class.ilDataCollectionRecordEditGUI.php.
References ilObject\_lookupDescription(), and ilObject\_lookupTitle().
Referenced by searchObjects().
ilDataCollectionRecordEditGUI::save | ( | ) |
save Record
string | $a_mode | values: create | edit |
Definition at line 299 of file class.ilDataCollectionRecordEditGUI.php.
References $_POST, $ilCtrl, $ilUser, $lng, $tpl, ilObjDataCollection\_hasWriteAccess(), ilObjUser\_lookupId(), accessDenied(), ilDataCollectionCache\getRecordCache(), IL_CAL_DATETIME, IL_CAL_UNIX, initForm(), ilDataCollectionDatatype\INPUTFORMAT_MOB, sendFailure(), ilObjDataCollection\sendNotification(), and ilUtil\sendSuccess().
ilDataCollectionRecordEditGUI::searchObjects | ( | ) |
This function is only used by the ajax request if searching for ILIAS references.
It builds the html for the search results.
Definition at line 420 of file class.ilDataCollectionRecordEditGUI.php.
References $_POST, $lng, $path, $res, $results, $tpl, exit, parseSearchResults(), and QP_COMBINATION_AND.
|
private |
Definition at line 410 of file class.ilDataCollectionRecordEditGUI.php.
References $tpl.
Referenced by save().
|
private |
Definition at line 24 of file class.ilDataCollectionRecordEditGUI.php.
Referenced by __construct().
|
private |
Definition at line 21 of file class.ilDataCollectionRecordEditGUI.php.
|
private |
Definition at line 23 of file class.ilDataCollectionRecordEditGUI.php.
|
private |
Definition at line 22 of file class.ilDataCollectionRecordEditGUI.php.