ILIAS
release_8 Revision v8.23
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct (ilAdvancedMDRecord $record, ?array $decorator_callback=null) | |
Takes as an optional second input an array consisting of the object that the method that should be called back to belongs to, and a string with the name of the method. More... | |
getBlockType () | |
setValues (ilAdvancedMDValues $a_values) | |
executeCommand () | |
execute command More... | |
fillDataSection () | |
Fill data section. More... | |
![]() | |
__construct () | |
getBlockType () | |
setData (array $a_data) | |
getData () | |
setPresentation (int $type) | |
getPresentation () | |
setBlockId (string $a_block_id="0") | |
getBlockId () | |
setGuiObject (object $a_gui_object) | |
Set GuiObject. More... | |
getGuiObject () | |
setTitle (string $a_title) | |
getTitle () | |
setOffset (int $a_offset) | |
getOffset () | |
correctOffset () | |
setLimit (int $a_limit) | |
getLimit () | |
setEnableEdit (bool $a_enableedit) | |
getEnableEdit () | |
setRepositoryMode (bool $a_repositorymode) | |
getRepositoryMode () | |
setSubtitle (string $a_subtitle) | |
getSubtitle () | |
setRefId (int $a_refid) | |
Set Ref Id (only used if isRepositoryObject() is true). More... | |
getRefId () | |
setAdminCommands (bool $a_admincommands) | |
getAdminCommands () | |
setEnableNumInfo (bool $a_enablenuminfo) | |
getEnableNumInfo () | |
setProperties (array $a_properties) | |
This function is supposed to be used for block type specific properties, that should be inherited through ilColumnGUI->setBlockProperties. More... | |
getProperty (string $a_property) | |
setProperty (string $a_property, string $a_value) | |
setRowTemplate (string $a_rowtemplatename, string $a_rowtemplatedir="") | |
Set Row Template Name. More... | |
getNavParameter () | |
getConfigParameter () | |
getMoveParameter () | |
getRowTemplateName () | |
getRowTemplateDir () | |
addBlockCommand (string $a_href, string $a_text, string $a_onclick="") | |
getBlockCommands () | |
getHTML () | |
fillHeaderCommands () | |
fillHeaderTitleBlock () | |
setDataSection (string $a_content) | |
Call this from overwritten fillDataSection(), if standard row based data is not used. More... | |
fillDataSection () | |
Standard implementation for row based data. More... | |
fillRow (array $a_set) | |
fillFooter () | |
fillPreviousNext () | |
setPreviousNextLinks () | |
getAsynch () | |
Use this for final get before sending asynchronous output (ajax) per echo to output. More... | |
getPaginationViewControl () | |
Fill previous/next row. More... | |
getHTMLNew () | |
getNoItemFoundContent () | |
Static Public Member Functions | |
static | getScreenMode () |
Get Screen Mode for current command. More... | |
![]() | |
static | getScreenMode () |
Static Public Attributes | |
static string | $block_type = "advmd" |
Protected Member Functions | |
isRepositoryObject () | |
getLegacyContent () | |
![]() | |
isRepositoryObject () | |
Returns whether block has a corresponding repository object. More... | |
specialCharsAsEntities (string $string) | |
initCommands () | |
fillRowColor (string $a_placeholder="CSS_ROW") | |
preloadData (array $data) | |
Can be overwritten in subclasses. More... | |
getLegacyContent () | |
Get legacy content. More... | |
getViewControls () | |
Get view controls. More... | |
getListItemForData (array $data) | |
Get list item for data array. More... | |
handleNavigation () | |
Handle navigation. More... | |
loadData () | |
Load data for current page. More... | |
getListItemGroups () | |
Get items. More... | |
addRepoCommands () | |
Add repo commands. More... | |
send (string $output) | |
Send. More... | |
Protected Attributes | |
ilAdvancedMDRecord | $record |
ilAdvancedMDValues | $values |
array | $callback |
bool | $new_rendering = true |
![]() | |
object | $gui_object |
ILIAS Block StandardGUIRequest | $request |
ILIAS Block BlockManager | $block_manager |
bool | $repositorymode = false |
ILIAS DI UIServices | $ui |
array | $data = array() |
bool | $enablenuminfo = true |
array | $footer_links = array() |
string | $block_id = "0" |
bool | $allow_moving = true |
array | $move = array("left" => false, "right" => false, "up" => false, "down" => false) |
array | $block_commands = array() |
int | $max_count = 0 |
bool | $close_command = false |
bool | $image = false |
array | $property = [] |
string | $nav_value = "" |
string | $css_row = "" |
string | $title = "" |
bool | $admincommands = false |
array | $dropdown |
ilTemplate | $tpl |
ilGlobalTemplateInterface | $main_tpl |
ilObjUser | $user |
ilCtrl | $ctrl |
ilAccessHandler | $access |
ilLanguage | $lng |
ilObjectDefinition | $obj_def |
int | $presentation |
int | $requested_ref_id |
bool | $new_rendering = false |
Static Protected Attributes | |
static array | $records = [] |
Additional Inherited Members | |
![]() | |
const | PRES_MAIN_LEG = 0 |
const | PRES_SEC_LEG = 1 |
const | PRES_SEC_LIST = 2 |
const | PRES_MAIN_LIST = 3 |
const | PRES_MAIN_TILE = 4 |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Metadata block
Definition at line 27 of file class.ilObjectMetaDataBlockGUI.php.
ilObjectMetaDataBlockGUI::__construct | ( | ilAdvancedMDRecord | $record, |
?array | $decorator_callback = null |
||
) |
Takes as an optional second input an array consisting of the object that the method that should be called back to belongs to, and a string with the name of the method.
ilAdvancedMDRecord | $record | |
null|array{0 | ilObject, 1: string} $decorator_callback |
Definition at line 43 of file class.ilObjectMetaDataBlockGUI.php.
References $DIC, $record, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\ctrl(), ilAdvancedMDRecordTranslations\getInstanceByRecordId(), ILIAS\Repository\lng(), ilBlockGUI\setBlockId(), ilBlockGUI\setEnableNumInfo(), and ilBlockGUI\setTitle().
ilObjectMetaDataBlockGUI::executeCommand | ( | ) |
execute command
Definition at line 95 of file class.ilObjectMetaDataBlockGUI.php.
References ILIAS\Repository\ctrl().
ilObjectMetaDataBlockGUI::fillDataSection | ( | ) |
Fill data section.
Definition at line 105 of file class.ilObjectMetaDataBlockGUI.php.
References getLegacyContent(), and ilBlockGUI\setDataSection().
ilObjectMetaDataBlockGUI::getBlockType | ( | ) |
Definition at line 66 of file class.ilObjectMetaDataBlockGUI.php.
|
protected |
Definition at line 120 of file class.ilObjectMetaDataBlockGUI.php.
References ilADTFactory\getInstance(), ilAdvancedMDFieldTranslations\getInstanceByRecordId(), ILIAS\LTI\ToolProvider\getRecordId(), ilDatePresentation\setUseRelativeDates(), and ilDatePresentation\useRelativeDates().
Referenced by fillDataSection().
|
static |
Get Screen Mode for current command.
Definition at line 82 of file class.ilObjectMetaDataBlockGUI.php.
References IL_SCREEN_SIDE.
|
protected |
Definition at line 74 of file class.ilObjectMetaDataBlockGUI.php.
ilObjectMetaDataBlockGUI::setValues | ( | ilAdvancedMDValues | $a_values | ) |
Definition at line 87 of file class.ilObjectMetaDataBlockGUI.php.
|
static |
Definition at line 29 of file class.ilObjectMetaDataBlockGUI.php.
|
protected |
Definition at line 34 of file class.ilObjectMetaDataBlockGUI.php.
|
protected |
Definition at line 114 of file class.ilObjectMetaDataBlockGUI.php.
|
protected |
Definition at line 32 of file class.ilObjectMetaDataBlockGUI.php.
Referenced by __construct().
|
staticprotected |
Definition at line 30 of file class.ilObjectMetaDataBlockGUI.php.
|
protected |
Definition at line 33 of file class.ilObjectMetaDataBlockGUI.php.