| ILIAS
    Release_4_3_x_branch Revision 61807
    | 
 Collaboration diagram for ilShopNewsItem:
 Collaboration diagram for ilShopNewsItem:| Public Member Functions | |
| __construct ($a_id=0) | |
| Constructor. | |
| setId ($a_id) | |
| Set Id. | |
| getId () | |
| Get Id. | |
| setTitle ($a_title) | |
| Set Title. | |
| getTitle () | |
| Get Title. | |
| setContent ($a_content) | |
| Set Content. | |
| getContent () | |
| Get Content. | |
| setCreationDate ($a_creation_date) | |
| Set CreationDate. | |
| getCreationDate () | |
| Get CreationDate. | |
| setUpdateDate ($a_update_date) | |
| Set UpdateDate. | |
| getUpdateDate () | |
| Get UpdateDate. | |
| setVisibility ($a_visibility= 'users') | |
| Set Visibility. | |
| getVisibility () | |
| Get Visibility. | |
| setUserId ($a_user_id) | |
| Set UserId. | |
| getUserId () | |
| Get UserId. | |
| create () | |
| Create new item. | |
| update () | |
| Update item in database. | |
| delete () | |
| Delete item from database. | |
| Private Member Functions | |
| read () | |
| Read item from database. | |
| 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 | ) | 
| ilShopNewsItem::create | ( | ) | 
Create new item.
Definition at line 178 of file class.ilShopNewsItem.php.
References getContent(), getTitle(), getUserId(), getVisibility(), IL_CAL_DATETIME, and IL_CAL_UNIX.
 Here is the call graph for this function:
 Here is the call graph for this function:| ilShopNewsItem::delete | ( | ) | 
Delete item from database.
Definition at line 263 of file class.ilShopNewsItem.php.
References $query, and getId().
 Here is the call graph for this function:
 Here is the call graph for this function:| 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:
 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:
 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:
 Here is the caller graph for this function:| 
 | private | 
Read item from database.
Definition at line 207 of file class.ilShopNewsItem.php.
References $result, getId(), setContent(), setCreationDate(), setTitle(), setUpdateDate(), setUserId(), and setVisibility().
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:| 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:
 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:
 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:
 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:
 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:
 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:
 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:
 Here is the caller graph for this function:| ilShopNewsItem::update | ( | ) | 
Update item in database.
Definition at line 232 of file class.ilShopNewsItem.php.
References getContent(), getId(), getTitle(), getUserId(), getVisibility(), IL_CAL_DATETIME, and IL_CAL_UNIX.
 Here is the call graph for this function:
 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().