ILIAS
Release_5_0_x_branch Revision 61816
|
Class ilDataCollectionRecordViewGUI. More...
Public Member Functions | |
__construct (ilObjDataCollectionGUI $a_dcl_object) | |
executeCommand () | |
renderRecord ($editComments=false) | |
doReplace ($found) | |
doExtReplace ($found) |
Static Public Member Functions | |
static | _getViewDefinitionId (ilDataCollectionRecord $record_obj) |
static | hasValidViewDefinition (ilDataCollectionRecord $record_obj) |
static | hasTableValidViewDefinition (ilDataCollectionTable $table) |
Protected Member Functions | |
renderComments ($edit=false) | |
determineNextPrevRecords () | |
Find the previous/next record from the current position. | |
renderPrevNextLinks () | |
Determine and return the markup for the previous/next records. | |
renderSelectOptions () | |
Render select options. |
Protected Attributes | |
$dcl_gui_object | |
$notes_gui | |
$table | |
$record_obj | |
$next_record_id = 0 | |
$prev_record_id = 0 | |
$current_record_position = 0 | |
$record_ids = array() | |
$is_enabled_paging = true |
Private Member Functions | |
setOptions ($link_name) | |
setOptions string $link_name | |
loadSession () | |
If we come from a goto Link we need to build up the session data. |
Class ilDataCollectionRecordViewGUI.
ilDataCollectionRecordViewGUI: ilPageObjectGUI, ilEditClipboardGUI
Definition at line 26 of file class.ilDataCollectionRecordViewGUI.php.
ilDataCollectionRecordViewGUI::__construct | ( | ilObjDataCollectionGUI | $a_dcl_object | ) |
ilObjDataCollectionGUI | $a_dcl_object |
Definition at line 69 of file class.ilDataCollectionRecordViewGUI.php.
References $_GET, $_REQUEST, $ilCtrl, $tpl, determineNextPrevRecords(), ilObjStyleSheet\getContentStylePath(), ilDataCollectionCache\getRecordCache(), ilObjStyleSheet\getSyntaxStylePath(), and ilUtil\sendFailure().
|
static |
$record_obj | ilDataCollectionRecord |
Definition at line 155 of file class.ilDataCollectionRecordViewGUI.php.
References ilDataCollectionRecordViewViewdefinition\getIdByTableId(), and ilDataCollectionRecord\getTableId().
Referenced by renderRecord().
|
protected |
Find the previous/next record from the current position.
Also determine position of current record in whole set.
Definition at line 342 of file class.ilDataCollectionRecordViewGUI.php.
References $_SESSION, and loadSession().
Referenced by __construct().
ilDataCollectionRecordViewGUI::doExtReplace | ( | $found | ) |
$found |
Definition at line 291 of file class.ilDataCollectionRecordViewGUI.php.
References $tpl, ilDataCollectionCache\getRecordCache(), ilObjDataCollectionAccess\hasWriteAccess(), and ilUtil\sendInfo().
ilDataCollectionRecordViewGUI::doReplace | ( | $found | ) |
$found |
Definition at line 281 of file class.ilDataCollectionRecordViewGUI.php.
References setOptions().
ilDataCollectionRecordViewGUI::executeCommand | ( | ) |
Definition at line 114 of file class.ilDataCollectionRecordViewGUI.php.
References $cmd, $ilCtrl, and renderRecord().
|
static |
ilDataCollectionTable | $table |
Definition at line 178 of file class.ilDataCollectionRecordViewGUI.php.
References ilDataCollectionTable\getId(), and ilDataCollectionRecordViewViewdefinition\getInstanceByTableId().
Referenced by ilDataCollectionRecordListTableGUI\buildData().
|
static |
ilDataCollectionRecord | $record_obj |
Definition at line 166 of file class.ilDataCollectionRecordViewGUI.php.
References ilDataCollectionRecordViewViewdefinition\getInstanceByTableId(), and ilDataCollectionRecord\getTableId().
|
private |
If we come from a goto Link we need to build up the session data.
Definition at line 417 of file class.ilDataCollectionRecordViewGUI.php.
Referenced by determineNextPrevRecords().
|
protected |
Definition at line 329 of file class.ilDataCollectionRecordViewGUI.php.
Referenced by renderRecord().
|
protected |
Determine and return the markup for the previous/next records.
Definition at line 370 of file class.ilDataCollectionRecordViewGUI.php.
References $ilCtrl, $lng, $next_record_id, $out, and $prev_record_id.
Referenced by renderRecord().
ilDataCollectionRecordViewGUI::renderRecord | ( | $editComments = false | ) |
bool | $editComments |
Definition at line 188 of file class.ilDataCollectionRecordViewGUI.php.
References $_GET, $current_record_position, $ilCtrl, $lng, $table, $tpl, _getViewDefinitionId(), ilObjStyleSheet\getEffectiveContentStyleId(), ilLinkButton\getInstance(), ilDataCollectionCache\getTableCache(), ilDataCollectionRecordEditGUI\REDIRECT_DETAIL, renderComments(), renderPrevNextLinks(), renderSelectOptions(), and setOptions().
Referenced by executeCommand().
|
protected |
Render select options.
Definition at line 391 of file class.ilDataCollectionRecordViewGUI.php.
References $out.
Referenced by renderRecord().
|
private |
setOptions string $link_name
Definition at line 406 of file class.ilDataCollectionRecordViewGUI.php.
References $options.
Referenced by doReplace(), and renderRecord().
|
protected |
Definition at line 55 of file class.ilDataCollectionRecordViewGUI.php.
Referenced by renderRecord().
|
protected |
Definition at line 31 of file class.ilDataCollectionRecordViewGUI.php.
|
protected |
Definition at line 63 of file class.ilDataCollectionRecordViewGUI.php.
|
protected |
Definition at line 47 of file class.ilDataCollectionRecordViewGUI.php.
Referenced by renderPrevNextLinks().
|
protected |
Definition at line 35 of file class.ilDataCollectionRecordViewGUI.php.
|
protected |
Definition at line 51 of file class.ilDataCollectionRecordViewGUI.php.
Referenced by renderPrevNextLinks().
|
protected |
Definition at line 59 of file class.ilDataCollectionRecordViewGUI.php.
|
protected |
Definition at line 43 of file class.ilDataCollectionRecordViewGUI.php.
|
protected |
Definition at line 39 of file class.ilDataCollectionRecordViewGUI.php.
Referenced by renderRecord().