ILIAS
Release_4_4_x_branch Revision 61816
|
Block Setting class. More...
Public Member Functions | |
preloadPDBlockSettings () | |
Preload pd info. |
Static Public Member Functions | |
static | _lookup ($a_type, $a_setting, $a_user=0, $a_block_id=0) |
Lookup setting from database. | |
static | _setDefaultSetting ($a_type, $a_setting, $a_value) |
Sets a default setting for a block. | |
static | _unsetDefaultSetting ($a_type, $a_setting) |
Unsets a default setting for a block. | |
static | _write ($a_type, $a_setting, $a_value, $a_user=0, $a_block_id=0) |
Write setting to database. | |
static | _lookupDetailLevel ($a_type, $a_user=0, $a_block_id=0) |
Lookup detail level. | |
static | _writeDetailLevel ($a_type, $a_value, $a_user=0, $a_block_id=0) |
Write detail level to database. | |
static | _lookupNr ($a_type, $a_user=0, $a_block_id=0) |
Lookup number. | |
static | _writeNumber ($a_type, $a_value, $a_user=0, $a_block_id=0) |
Write number to database. | |
static | _lookupSide ($a_type, $a_user=0, $a_block_id=0) |
Lookup side. | |
static | _writeSide ($a_type, $a_value, $a_user=0, $a_block_id=0) |
Write side to database. | |
static | _deleteSettingsOfUser ($a_user) |
Delete block settings of user. | |
static | _deleteSettingsOfBlock ($a_block_id, $a_block_type) |
Delete block settings of block. |
Static Public Attributes | |
static | $setting = array() |
static | $pd_preloaded = false |
|
static |
Delete block settings of block.
Definition at line 258 of file class.ilBlockSetting.php.
Referenced by ilObjExternalFeed\delete(), and ilObject\delete().
|
static |
Delete block settings of user.
Definition at line 243 of file class.ilBlockSetting.php.
Referenced by ilObjUser\delete().
|
static |
Lookup setting from database.
Definition at line 40 of file class.ilBlockSetting.php.
References $ilSetting.
Referenced by ilNewsItem\_getDefaultVisibilityForRefId(), _lookupDetailLevel(), _lookupNr(), _lookupSide(), ilNewsItem\_lookupUserPDPeriod(), ilNewsForContextTableGUI\fillRow(), ilPDNewsTableGUI\fillRow(), ilObjMediaCastGUI\getFeedIconsHTML(), ilNewsForContextBlockGUI\getHTML(), ilNewsItem\getNewsForRefId(), ilNewsForContextBlockGUI\handleView(), ilObjectFeedWriter\ilObjectFeedWriter(), ilNewsForContextBlockGUI\initSettingsForm(), ilObjMediaCastGUI\initSettingsForm(), ilNewsItem\queryNewsForContext(), ilNewsItem\queryNewsForMultipleContexts(), and ilNewsForContextBlockGUI\showNews().
|
static |
Lookup detail level.
Definition at line 176 of file class.ilBlockSetting.php.
References _lookup().
Referenced by ilBlockGUI\handleDetailLevel(), and ilColumnGUI\showBlocks().
|
static |
Lookup number.
Definition at line 203 of file class.ilBlockSetting.php.
References _lookup().
Referenced by ilColumnGUI\determineBlocks().
|
static |
Lookup side.
Definition at line 223 of file class.ilBlockSetting.php.
References _lookup().
Referenced by ilColumnGUI\determineBlocks().
|
static |
Sets a default setting for a block.
ilSetting $ilSetting
string | $a_type | |
string | $a_setting | |
mixed | $a_value |
Definition at line 82 of file class.ilBlockSetting.php.
References $ilSetting.
|
static |
Unsets a default setting for a block.
ilSetting $ilSetting
string | $a_type | |
string | $a_setting |
Definition at line 96 of file class.ilBlockSetting.php.
References $ilSetting.
|
static |
Write setting to database.
Definition at line 155 of file class.ilBlockSetting.php.
Referenced by _writeDetailLevel(), _writeNumber(), _writeSide(), ilObjFile\createProperties(), ilObjForum\createSettings(), ilNewsForContextBlockGUI\hideNotifications(), ilPDNewsBlockGUI\saveSettings(), ilNewsForContextBlockGUI\saveSettings(), ilObjMediaCastGUI\saveSettingsObject(), and ilNewsForContextBlockGUI\showNotifications().
|
static |
Write detail level to database.
Definition at line 194 of file class.ilBlockSetting.php.
References _write().
Referenced by ilColumnGUI\activateBlock(), and ilBlockGUI\handleDetailLevel().
|
static |
Write number to database.
Definition at line 214 of file class.ilBlockSetting.php.
References _write().
|
static |
Write side to database.
Definition at line 234 of file class.ilBlockSetting.php.
References _write().
ilBlockSetting::preloadPDBlockSettings | ( | ) |
Preload pd info.
@return |
Definition at line 108 of file class.ilBlockSetting.php.
References $ilUser.
|
static |
Definition at line 34 of file class.ilBlockSetting.php.
|
static |
Definition at line 33 of file class.ilBlockSetting.php.