|
ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
Collaboration diagram for ilShopNewsItem:Public Member Functions | |
| __construct ($a_id=0) | |
| Constructor. More... | |
| setId ($a_id) | |
| Set Id. More... | |
| getId () | |
| Get Id. More... | |
| setTitle ($a_title) | |
| Set Title. More... | |
| getTitle () | |
| Get Title. More... | |
| setContent ($a_content) | |
| Set Content. More... | |
| getContent () | |
| Get Content. More... | |
| setCreationDate ($a_creation_date) | |
| Set CreationDate. More... | |
| getCreationDate () | |
| Get CreationDate. More... | |
| setUpdateDate ($a_update_date) | |
| Set UpdateDate. More... | |
| getUpdateDate () | |
| Get UpdateDate. More... | |
| setVisibility ($a_visibility='users') | |
| Set Visibility. More... | |
| getVisibility () | |
| Get Visibility. More... | |
| setUserId ($a_user_id) | |
| Set UserId. More... | |
| getUserId () | |
| Get UserId. More... | |
| create () | |
| Create new item. More... | |
| update () | |
| Update item in database. More... | |
| delete () | |
| Delete item from database. More... | |
Private Member Functions | |
| read () | |
| Read item from database. More... | |
Private Attributes | |
| $id = 0 | |
| $title = '' | |
| $content = '' | |
| $creation_date = null | |
| $update_date = null | |
| $user_id = 0 | |
| $visibility = 'users' | |
Definition at line 9 of file class.ilShopNewsItem.php.
| ilShopNewsItem::__construct | ( | $a_id = 0 | ) |
Constructor.
| int | $a_id |
Definition at line 24 of file class.ilShopNewsItem.php.
References read(), and setId().
Here is the call graph for this function:| ilShopNewsItem::create | ( | ) |
Create new item.
Definition at line 178 of file class.ilShopNewsItem.php.
References $ilDB, getContent(), getTitle(), getUserId(), getVisibility(), IL_CAL_DATETIME, and IL_CAL_UNIX.
Here is the call graph for this function:| ilShopNewsItem::delete | ( | ) |
| ilShopNewsItem::getContent | ( | ) |
Get Content.
Definition at line 88 of file class.ilShopNewsItem.php.
References $content.
Referenced by create(), and update().
Here is the caller graph for this function:| ilShopNewsItem::getCreationDate | ( | ) |
Get CreationDate.
Definition at line 109 of file class.ilShopNewsItem.php.
References $creation_date.
| ilShopNewsItem::getId | ( | ) |
| ilShopNewsItem::getTitle | ( | ) |
| ilShopNewsItem::getUpdateDate | ( | ) |
Get UpdateDate.
Definition at line 129 of file class.ilShopNewsItem.php.
References $update_date.
| ilShopNewsItem::getUserId | ( | ) |
Get UserId.
Definition at line 169 of file class.ilShopNewsItem.php.
References $user_id.
Referenced by create(), and update().
Here is the caller graph for this function:| ilShopNewsItem::getVisibility | ( | ) |
Get Visibility.
Definition at line 149 of file class.ilShopNewsItem.php.
References $visibility.
Referenced by create(), and update().
Here is the caller graph for this function:
|
private |
Read item from database.
Definition at line 207 of file class.ilShopNewsItem.php.
References $ilDB, $result, getId(), setContent(), setCreationDate(), setTitle(), setUpdateDate(), setUserId(), and setVisibility().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilShopNewsItem::setContent | ( | $a_content | ) |
Set Content.
| string | $a_content | Content of news. |
Definition at line 78 of file class.ilShopNewsItem.php.
Referenced by read().
Here is the caller graph for this function:| ilShopNewsItem::setCreationDate | ( | $a_creation_date | ) |
Set CreationDate.
| string | $a_creation_date | Date of creation. |
Definition at line 99 of file class.ilShopNewsItem.php.
Referenced by read().
Here is the caller graph for this function:| ilShopNewsItem::setId | ( | $a_id | ) |
Set Id.
| int | $a_id |
Definition at line 38 of file class.ilShopNewsItem.php.
Referenced by __construct().
Here is the caller graph for this function:| ilShopNewsItem::setTitle | ( | $a_title | ) |
Set Title.
| string | $a_title | Title of news item. |
Definition at line 58 of file class.ilShopNewsItem.php.
Referenced by read().
Here is the caller graph for this function:| ilShopNewsItem::setUpdateDate | ( | $a_update_date | ) |
Set UpdateDate.
| string | $a_update_date | Date of last update. |
Definition at line 119 of file class.ilShopNewsItem.php.
Referenced by read().
Here is the caller graph for this function:| ilShopNewsItem::setUserId | ( | $a_user_id | ) |
Set UserId.
| int | $a_user_id |
Definition at line 159 of file class.ilShopNewsItem.php.
Referenced by read().
Here is the caller graph for this function:| ilShopNewsItem::setVisibility | ( | $a_visibility = 'users' | ) |
Set Visibility.
| string | $a_visibility | Access level of news. |
Definition at line 139 of file class.ilShopNewsItem.php.
Referenced by read().
Here is the caller graph for this function:| ilShopNewsItem::update | ( | ) |
Update item in database.
Definition at line 232 of file class.ilShopNewsItem.php.
References $ilDB, getContent(), getId(), getTitle(), getUserId(), getVisibility(), IL_CAL_DATETIME, and IL_CAL_UNIX.
Here is the call graph for this function:
|
private |
Definition at line 13 of file class.ilShopNewsItem.php.
Referenced by getContent().
|
private |
Definition at line 14 of file class.ilShopNewsItem.php.
Referenced by getCreationDate().
|
private |
Definition at line 11 of file class.ilShopNewsItem.php.
Referenced by getId().
|
private |
Definition at line 12 of file class.ilShopNewsItem.php.
Referenced by getTitle().
|
private |
Definition at line 15 of file class.ilShopNewsItem.php.
Referenced by getUpdateDate().
|
private |
Definition at line 16 of file class.ilShopNewsItem.php.
Referenced by getUserId().
|
private |
Definition at line 17 of file class.ilShopNewsItem.php.
Referenced by getVisibility().