|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilCustomBlock:
Collaboration diagram for ilCustomBlock:Public Member Functions | |
| __construct (int $a_id=0) | |
| setId (int $a_id) | |
| getId () | |
| setContextObjId (int $a_context_obj_id) | |
| getContextObjId () | |
| setContextObjType (string $a_context_obj_type) | |
| getContextObjType () | |
| setContextSubObjId (int $a_context_sub_obj_id) | |
| getContextSubObjId () | |
| setContextSubObjType (string $a_context_sub_obj_type) | |
| getContextSubObjType () | |
| setType (string $a_type) | |
| getType () | |
| setTitle (string $a_title) | |
| getTitle () | |
| create () | |
| read () | |
| update () | |
| delete () | |
| queryBlocksForContext (bool $a_include_sub_obj=true) | |
| Query BlocksForContext. More... | |
| queryCntBlockForContext () | |
Static Public Member Functions | |
| static | multiBlockQuery (string $a_context_obj_type, array $a_context_obj_ids) |
Protected Attributes | |
| ilDBInterface | $db |
| int | $id = 0 |
| int | $context_obj_id = 0 |
| string | $context_obj_type = "" |
| int | $context_sub_obj_id = 0 |
| string | $context_sub_obj_type = "" |
| string | $type = "" |
| string | $title = "" |
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 This is the super class of all custom blocks.
Definition at line 25 of file class.ilCustomBlock.php.
| ilCustomBlock::__construct | ( | int | $a_id = 0 | ) |
Reimplemented in ilPollBlock.
Definition at line 36 of file class.ilCustomBlock.php.
References $DIC, read(), and setId().
Here is the call graph for this function:| ilCustomBlock::create | ( | ) |
Definition at line 121 of file class.ilCustomBlock.php.
References $db, $ilDB, $query, getContextObjId(), getContextObjType(), getContextSubObjId(), getContextSubObjType(), getId(), getTitle(), getType(), and setId().
Here is the call graph for this function:| ilCustomBlock::delete | ( | ) |
| ilCustomBlock::getContextObjId | ( | ) |
Definition at line 63 of file class.ilCustomBlock.php.
References $context_obj_id.
Referenced by create(), and update().
Here is the caller graph for this function:| ilCustomBlock::getContextObjType | ( | ) |
Definition at line 73 of file class.ilCustomBlock.php.
References $context_obj_type.
Referenced by create(), and update().
Here is the caller graph for this function:| ilCustomBlock::getContextSubObjId | ( | ) |
Definition at line 83 of file class.ilCustomBlock.php.
References $context_sub_obj_id.
Referenced by create(), queryBlocksForContext(), and update().
Here is the caller graph for this function:| ilCustomBlock::getContextSubObjType | ( | ) |
Definition at line 93 of file class.ilCustomBlock.php.
References $context_sub_obj_type.
Referenced by create(), queryBlocksForContext(), and update().
Here is the caller graph for this function:| ilCustomBlock::getId | ( | ) |
Definition at line 53 of file class.ilCustomBlock.php.
References $id.
Referenced by create(), delete(), read(), ilPollBlockGUI\setBlock(), and update().
Here is the caller graph for this function:| ilCustomBlock::getTitle | ( | ) |
Definition at line 116 of file class.ilCustomBlock.php.
References $title.
Referenced by create(), and update().
Here is the caller graph for this function:| ilCustomBlock::getType | ( | ) |
Definition at line 106 of file class.ilCustomBlock.php.
References $type.
Referenced by create(), and update().
Here is the caller graph for this function:
|
static |
Definition at line 238 of file class.ilCustomBlock.php.
| ilCustomBlock::queryBlocksForContext | ( | bool | $a_include_sub_obj = true | ) |
Query BlocksForContext.
Definition at line 191 of file class.ilCustomBlock.php.
References $ilDB, $query, getContextSubObjId(), and getContextSubObjType().
Here is the call graph for this function:| ilCustomBlock::queryCntBlockForContext | ( | ) |
Definition at line 216 of file class.ilCustomBlock.php.
| ilCustomBlock::read | ( | ) |
Definition at line 145 of file class.ilCustomBlock.php.
References $db, $ilDB, $query, getId(), setContextObjId(), setContextObjType(), setContextSubObjId(), setContextSubObjType(), setTitle(), and setType().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCustomBlock::setContextObjId | ( | int | $a_context_obj_id | ) |
Definition at line 58 of file class.ilCustomBlock.php.
Referenced by read().
Here is the caller graph for this function:| ilCustomBlock::setContextObjType | ( | string | $a_context_obj_type | ) |
Definition at line 68 of file class.ilCustomBlock.php.
Referenced by read().
Here is the caller graph for this function:| ilCustomBlock::setContextSubObjId | ( | int | $a_context_sub_obj_id | ) |
Definition at line 78 of file class.ilCustomBlock.php.
Referenced by read().
Here is the caller graph for this function:| ilCustomBlock::setContextSubObjType | ( | string | $a_context_sub_obj_type | ) |
Definition at line 88 of file class.ilCustomBlock.php.
Referenced by read().
Here is the caller graph for this function:| ilCustomBlock::setId | ( | int | $a_id | ) |
Definition at line 48 of file class.ilCustomBlock.php.
Referenced by __construct(), and create().
Here is the caller graph for this function:| ilCustomBlock::setTitle | ( | string | $a_title | ) |
Definition at line 111 of file class.ilCustomBlock.php.
Referenced by read(), and PollBlockTest\testSetTitle().
Here is the caller graph for this function:| ilCustomBlock::setType | ( | string | $a_type | ) |
| string | $a_type | Type of block. |
Definition at line 101 of file class.ilCustomBlock.php.
Referenced by read().
Here is the caller graph for this function:| ilCustomBlock::update | ( | ) |
Definition at line 162 of file class.ilCustomBlock.php.
References $db, $ilDB, $query, getContextObjId(), getContextObjType(), getContextSubObjId(), getContextSubObjType(), getId(), getTitle(), and getType().
Here is the call graph for this function:
|
protected |
Definition at line 29 of file class.ilCustomBlock.php.
Referenced by getContextObjId().
|
protected |
Definition at line 30 of file class.ilCustomBlock.php.
Referenced by getContextObjType().
|
protected |
Definition at line 31 of file class.ilCustomBlock.php.
Referenced by getContextSubObjId().
|
protected |
Definition at line 32 of file class.ilCustomBlock.php.
Referenced by getContextSubObjType().
|
protected |
|
protected |
Definition at line 28 of file class.ilCustomBlock.php.
Referenced by getId().
|
protected |
Definition at line 34 of file class.ilCustomBlock.php.
Referenced by getTitle().
|
protected |
Definition at line 33 of file class.ilCustomBlock.php.
Referenced by getType().