ILIAS
Release_3_10_x_branch Revision 61812
|
Custom block for external feeds. More...
Public Member Functions | |
__construct ($a_id=0) | |
Constructor. | |
setFeedUrl ($a_feed_url) | |
Set FeedUrl. | |
getFeedUrl () | |
Get FeedUrl. | |
create () | |
Create new item. | |
read () | |
Read item from database. | |
update () | |
Update item in database. | |
delete () | |
Delete item from database. | |
Public Member Functions inherited from ilCustomBlock | |
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. | |
querygetBlocksForContext () | |
Query getBlocksForContext. | |
queryBlocksForContext () | |
Query BlocksForContext. | |
queryTitleForId () | |
Query TitleForId. | |
queryCntBlockForContext () | |
Query CntBlockForContext. |
Protected Attributes | |
$feed_url | |
Protected Attributes inherited from ilCustomBlock | |
$id | |
$context_obj_id | |
$context_obj_type | |
$context_sub_obj_id | |
$context_sub_obj_type | |
$type | |
$title |
Custom block for external feeds.
Definition at line 32 of file class.ilExternalFeedBlock.php.
ilExternalFeedBlock::__construct | ( | $a_id = 0 | ) |
Constructor.
int | $a_id |
Reimplemented from ilCustomBlock.
Definition at line 42 of file class.ilExternalFeedBlock.php.
References read(), and ilCustomBlock\setId().
ilExternalFeedBlock::create | ( | ) |
Create new item.
Reimplemented from ilCustomBlock.
Definition at line 76 of file class.ilExternalFeedBlock.php.
References $ilLog, getFeedUrl(), and ilCustomBlock\getId().
ilExternalFeedBlock::delete | ( | ) |
Delete item from database.
Reimplemented from ilCustomBlock.
Definition at line 133 of file class.ilExternalFeedBlock.php.
References ilCustomBlock\getId().
ilExternalFeedBlock::getFeedUrl | ( | ) |
Get FeedUrl.
Definition at line 67 of file class.ilExternalFeedBlock.php.
References $feed_url.
Referenced by create(), and update().
ilExternalFeedBlock::read | ( | ) |
Read item from database.
Reimplemented from ilCustomBlock.
Definition at line 96 of file class.ilExternalFeedBlock.php.
References DB_FETCHMODE_ASSOC, ilCustomBlock\getId(), and setFeedUrl().
Referenced by __construct().
ilExternalFeedBlock::setFeedUrl | ( | $a_feed_url | ) |
Set FeedUrl.
string | $a_feed_url | URL of the external news feed. |
Definition at line 57 of file class.ilExternalFeedBlock.php.
Referenced by read().
ilExternalFeedBlock::update | ( | ) |
Update item in database.
Reimplemented from ilCustomBlock.
Definition at line 115 of file class.ilExternalFeedBlock.php.
References getFeedUrl(), and ilCustomBlock\getId().
|
protected |
Definition at line 35 of file class.ilExternalFeedBlock.php.
Referenced by getFeedUrl().