ILIAS
release_4-4 Revision
|
A HTML block allows to present simple HTML within a block. More...
Public Member Functions | |
__construct ($a_id=0) | |
Constructor. More... | |
setContent ($a_content) | |
Set Content. More... | |
getContent () | |
Get Content. More... | |
create () | |
Create new item. More... | |
read () | |
Read item from database. More... | |
update () | |
Update item in database. More... | |
delete () | |
Delete item from database. More... | |
![]() | |
__construct ($a_id=0) | |
Constructor. More... | |
setId ($a_id) | |
Set Id. More... | |
getId () | |
Get Id. More... | |
setContextObjId ($a_context_obj_id) | |
Set ContextObjId. More... | |
getContextObjId () | |
Get ContextObjId. More... | |
setContextObjType ($a_context_obj_type) | |
Set ContextObjType. More... | |
getContextObjType () | |
Get ContextObjType. More... | |
setContextSubObjId ($a_context_sub_obj_id) | |
Set ContextSubObjId. More... | |
getContextSubObjId () | |
Get ContextSubObjId. More... | |
setContextSubObjType ($a_context_sub_obj_type) | |
Set ContextSubObjType. More... | |
getContextSubObjType () | |
Get ContextSubObjType. More... | |
setType ($a_type) | |
Set Type. More... | |
getType () | |
Get Type. More... | |
setTitle ($a_title) | |
Set Title. More... | |
getTitle () | |
Get Title. More... | |
create () | |
Create new item. More... | |
read () | |
Read item from database. More... | |
update () | |
Update item in database. More... | |
delete () | |
Delete item from database. More... | |
querygetBlocksForContext () | |
Query getBlocksForContext. More... | |
queryBlocksForContext () | |
Query BlocksForContext. More... | |
queryTitleForId () | |
Query TitleForId. More... | |
queryCntBlockForContext () | |
Query CntBlockForContext. More... | |
Protected Attributes | |
$content | |
![]() | |
$id | |
$context_obj_id | |
$context_obj_type | |
$context_sub_obj_id | |
$context_sub_obj_type | |
$type | |
$title | |
A HTML block allows to present simple HTML within a block.
Definition at line 12 of file class.ilHtmlBlock.php.
ilHtmlBlock::__construct | ( | $a_id = 0 | ) |
Constructor.
int | $a_id |
Definition at line 22 of file class.ilHtmlBlock.php.
References read(), and ilCustomBlock\setId().
ilHtmlBlock::create | ( | ) |
Create new item.
Definition at line 56 of file class.ilHtmlBlock.php.
References $query, getContent(), and ilCustomBlock\getId().
ilHtmlBlock::delete | ( | ) |
Delete item from database.
Definition at line 114 of file class.ilHtmlBlock.php.
References $query, and ilCustomBlock\getId().
ilHtmlBlock::getContent | ( | ) |
Get Content.
Definition at line 47 of file class.ilHtmlBlock.php.
References $content.
Referenced by create(), and update().
ilHtmlBlock::read | ( | ) |
Read item from database.
Definition at line 77 of file class.ilHtmlBlock.php.
References $query, ilCustomBlock\getId(), and setContent().
Referenced by __construct().
ilHtmlBlock::setContent | ( | $a_content | ) |
Set Content.
string | $a_content | HTML content of the block. |
Definition at line 37 of file class.ilHtmlBlock.php.
Referenced by read().
ilHtmlBlock::update | ( | ) |
Update item in database.
Definition at line 96 of file class.ilHtmlBlock.php.
References $query, getContent(), and ilCustomBlock\getId().
|
protected |
Definition at line 15 of file class.ilHtmlBlock.php.
Referenced by getContent().