| ILIAS
    Release_4_4_x_branch Revision 61816
    | 
This is the super class of all custom blocks. More...
 Inheritance diagram for ilCustomBlock:
 Inheritance diagram for ilCustomBlock: Collaboration diagram for ilCustomBlock:
 Collaboration diagram for ilCustomBlock:| Public Member Functions | |
| __construct ($a_id=0) | |
| Constructor. | |
| setId ($a_id) | |
| Set Id. | |
| getId () | |
| Get Id. | |
| setContextObjId ($a_context_obj_id) | |
| Set ContextObjId. | |
| getContextObjId () | |
| Get ContextObjId. | |
| setContextObjType ($a_context_obj_type) | |
| Set ContextObjType. | |
| getContextObjType () | |
| Get ContextObjType. | |
| setContextSubObjId ($a_context_sub_obj_id) | |
| Set ContextSubObjId. | |
| getContextSubObjId () | |
| Get ContextSubObjId. | |
| setContextSubObjType ($a_context_sub_obj_type) | |
| Set ContextSubObjType. | |
| getContextSubObjType () | |
| Get ContextSubObjType. | |
| setType ($a_type) | |
| Set Type. | |
| getType () | |
| Get Type. | |
| setTitle ($a_title) | |
| Set Title. | |
| getTitle () | |
| Get Title. | |
| create () | |
| Create new item. | |
| read () | |
| Read item from database. | |
| update () | |
| Update item in database. | |
| delete () | |
| Delete item from database. | |
| querygetBlocksForContext () | |
| Query getBlocksForContext. | |
| queryBlocksForContext () | |
| Query BlocksForContext. | |
| queryTitleForId () | |
| Query TitleForId. | |
| queryCntBlockForContext () | |
| Query CntBlockForContext. | |
| Protected Attributes | |
| $id | |
| $context_obj_id | |
| $context_obj_type | |
| $context_sub_obj_id | |
| $context_sub_obj_type | |
| $type | |
| $title | |
This is the super class of all custom blocks.
Definition at line 11 of file class.ilCustomBlock.php.
| ilCustomBlock::__construct | ( | $a_id = 0 | ) | 
Constructor.
| int | $a_id | 
Reimplemented in ilExternalFeedBlock, and ilHtmlBlock.
Definition at line 27 of file class.ilCustomBlock.php.
References read(), and setId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilCustomBlock::create | ( | ) | 
Create new item.
Reimplemented in ilExternalFeedBlock, and ilHtmlBlock.
Definition at line 181 of file class.ilCustomBlock.php.
References $query, getContextObjId(), getContextObjType(), getContextSubObjId(), getContextSubObjType(), getId(), getTitle(), getType(), and setId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilCustomBlock::delete | ( | ) | 
Delete item from database.
Reimplemented in ilHtmlBlock, and ilExternalFeedBlock.
Definition at line 252 of file class.ilCustomBlock.php.
References $query, and getId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilCustomBlock::getContextObjId | ( | ) | 
Get ContextObjId.
Definition at line 72 of file class.ilCustomBlock.php.
References $context_obj_id.
Referenced by create(), queryBlocksForContext(), queryCntBlockForContext(), querygetBlocksForContext(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCustomBlock::getContextObjType | ( | ) | 
Get ContextObjType.
Definition at line 92 of file class.ilCustomBlock.php.
References $context_obj_type.
Referenced by create(), queryBlocksForContext(), queryCntBlockForContext(), querygetBlocksForContext(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCustomBlock::getContextSubObjId | ( | ) | 
Get ContextSubObjId.
Definition at line 112 of file class.ilCustomBlock.php.
References $context_sub_obj_id.
Referenced by create(), queryBlocksForContext(), queryCntBlockForContext(), querygetBlocksForContext(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCustomBlock::getContextSubObjType | ( | ) | 
Get ContextSubObjType.
Definition at line 132 of file class.ilCustomBlock.php.
References $context_sub_obj_type.
Referenced by create(), queryBlocksForContext(), queryCntBlockForContext(), querygetBlocksForContext(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCustomBlock::getId | ( | ) | 
Get Id.
Definition at line 52 of file class.ilCustomBlock.php.
References $id.
Referenced by ilExternalFeedBlock\create(), ilHtmlBlock\create(), create(), ilExternalFeedBlock\delete(), ilHtmlBlock\delete(), delete(), ilExternalFeedBlock\read(), ilHtmlBlock\read(), read(), ilExternalFeedBlock\update(), ilHtmlBlock\update(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCustomBlock::getTitle | ( | ) | 
| ilCustomBlock::getType | ( | ) | 
Get Type.
Definition at line 152 of file class.ilCustomBlock.php.
References $type.
Referenced by create(), queryCntBlockForContext(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCustomBlock::queryBlocksForContext | ( | ) | 
Query BlocksForContext.
Definition at line 295 of file class.ilCustomBlock.php.
References $query, $result, getContextObjId(), getContextObjType(), getContextSubObjId(), and getContextSubObjType().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilCustomBlock::queryCntBlockForContext | ( | ) | 
Query CntBlockForContext.
Definition at line 347 of file class.ilCustomBlock.php.
References $query, $result, getContextObjId(), getContextObjType(), getContextSubObjId(), getContextSubObjType(), and getType().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilCustomBlock::querygetBlocksForContext | ( | ) | 
Query getBlocksForContext.
Definition at line 267 of file class.ilCustomBlock.php.
References $query, $result, getContextObjId(), getContextObjType(), getContextSubObjId(), and getContextSubObjType().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilCustomBlock::queryTitleForId | ( | ) | 
Query TitleForId.
Definition at line 323 of file class.ilCustomBlock.php.
| ilCustomBlock::read | ( | ) | 
Read item from database.
Reimplemented in ilHtmlBlock, and ilExternalFeedBlock.
Definition at line 209 of file class.ilCustomBlock.php.
References $query, getId(), setContextObjId(), setContextObjType(), setContextSubObjId(), setContextSubObjType(), setTitle(), and setType().
Referenced by __construct().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCustomBlock::setContextObjId | ( | $a_context_obj_id | ) | 
Set ContextObjId.
| int | $a_context_obj_id | 
Definition at line 62 of file class.ilCustomBlock.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCustomBlock::setContextObjType | ( | $a_context_obj_type | ) | 
Set ContextObjType.
| int | $a_context_obj_type | 
Definition at line 82 of file class.ilCustomBlock.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCustomBlock::setContextSubObjId | ( | $a_context_sub_obj_id | ) | 
Set ContextSubObjId.
| int | $a_context_sub_obj_id | 
Definition at line 102 of file class.ilCustomBlock.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCustomBlock::setContextSubObjType | ( | $a_context_sub_obj_type | ) | 
Set ContextSubObjType.
| int | $a_context_sub_obj_type | 
Definition at line 122 of file class.ilCustomBlock.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCustomBlock::setId | ( | $a_id | ) | 
Set Id.
| int | $a_id | 
Definition at line 42 of file class.ilCustomBlock.php.
Referenced by ilExternalFeedBlock\__construct(), ilHtmlBlock\__construct(), __construct(), and create().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCustomBlock::setTitle | ( | $a_title | ) | 
Set Title.
| string | $a_title | Title of block | 
Definition at line 162 of file class.ilCustomBlock.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCustomBlock::setType | ( | $a_type | ) | 
Set Type.
| string | $a_type | Type of block. | 
Definition at line 142 of file class.ilCustomBlock.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCustomBlock::update | ( | ) | 
Update item in database.
Reimplemented in ilHtmlBlock, and ilExternalFeedBlock.
Definition at line 231 of file class.ilCustomBlock.php.
References $query, getContextObjId(), getContextObjType(), getContextSubObjId(), getContextSubObjType(), getId(), getTitle(), and getType().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Definition at line 15 of file class.ilCustomBlock.php.
Referenced by getContextObjId().
| 
 | protected | 
Definition at line 16 of file class.ilCustomBlock.php.
Referenced by getContextObjType().
| 
 | protected | 
Definition at line 17 of file class.ilCustomBlock.php.
Referenced by getContextSubObjId().
| 
 | protected | 
Definition at line 18 of file class.ilCustomBlock.php.
Referenced by getContextSubObjType().
| 
 | protected | 
Definition at line 14 of file class.ilCustomBlock.php.
Referenced by getId().
| 
 | protected | 
Definition at line 20 of file class.ilCustomBlock.php.
Referenced by getTitle().
| 
 | protected | 
Definition at line 19 of file class.ilCustomBlock.php.
Referenced by getType().