ILIAS
release_4-3 Revision
|
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 119 of file class.ilDataCollectionRecordEditGUI.php.
References $ilCtrl.
ilDataCollectionRecordEditGUI::cancelSave | ( | ) |
Definition at line 281 of file class.ilDataCollectionRecordEditGUI.php.
References cancelUpdate().
ilDataCollectionRecordEditGUI::cancelUpdate | ( | ) |
Definition at line 272 of file class.ilDataCollectionRecordEditGUI.php.
References $ilCtrl.
Referenced by cancelSave().
ilDataCollectionRecordEditGUI::confirmDelete | ( | ) |
confirmDelete
Definition at line 96 of file class.ilDataCollectionRecordEditGUI.php.
References $ilCtrl, $lng, $tpl, and ilDataCollectionCache\getRecordCache().
ilDataCollectionRecordEditGUI::create | ( | ) |
create Record
Definition at line 71 of file class.ilDataCollectionRecordEditGUI.php.
References $ilCtrl, $tpl, and initForm().
ilDataCollectionRecordEditGUI::delete | ( | ) |
Definition at line 129 of file class.ilDataCollectionRecordEditGUI.php.
References $ilCtrl, $lng, accessDenied(), ilDataCollectionCache\getRecordCache(), and ilUtil\sendSuccess().
ilDataCollectionRecordEditGUI::edit | ( | ) |
edit Record
Definition at line 83 of file class.ilDataCollectionRecordEditGUI.php.
References $ilCtrl, $tpl, getValues(), and initForm().
ilDataCollectionRecordEditGUI::executeCommand | ( | ) |
ilDataCollectionRecordEditGUI::getValues | ( | ) |
get Values
Definition at line 244 of file class.ilDataCollectionRecordEditGUI.php.
References $img, ilObjMediaObject\_lookupItemPath(), ilDataCollectionCache\getRecordCache(), ilDataCollectionCache\getRecordFieldCache(), and ilDataCollectionDatatype\INPUTFORMAT_MOB.
Referenced by edit().
ilDataCollectionRecordEditGUI::initForm | ( | ) |
init Form
string | $a_mode | values: create | edit |
Definition at line 150 of file class.ilDataCollectionRecordEditGUI.php.
References $ilCtrl, $lng, ilObjDataCollection\_hasWriteAccess(), ilDataCollectionCache\getFieldCache(), ilObjFile\getFileName(), ilDataCollectionDatatype\getInputField(), ilDataCollectionCache\getRecordCache(), ilDataCollectionCache\getTableCache(), ilObjMediaObject\getTitle(), 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 477 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 291 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 422 of file class.ilDataCollectionRecordEditGUI.php.
References $_POST, $lng, $path, $res, $results, $tpl, exit, parseSearchResults(), and QP_COMBINATION_AND.
|
private |
Definition at line 412 of file class.ilDataCollectionRecordEditGUI.php.
References $tpl.
Referenced by save().
|
private |
Definition at line 25 of file class.ilDataCollectionRecordEditGUI.php.
Referenced by __construct().
|
private |
Definition at line 22 of file class.ilDataCollectionRecordEditGUI.php.
|
private |
Definition at line 24 of file class.ilDataCollectionRecordEditGUI.php.
|
private |
Definition at line 23 of file class.ilDataCollectionRecordEditGUI.php.