Static Public Member Functions |
static | GetNewsByRange ($range_id, $only_visible=false, $as_objects=false) |
static | GetNewsByAuthor ($user_id, $as_objects=false) |
static | GetNewsByRSSId ($rss_id, $as_objects=false) |
static | GetNewsObjects ($news_result) |
static | GetUserIdFromRssID ($rss_id) |
static | GetRssIdFromUserId ($user_id) |
static | GetRangeFromRssID ($rss_id) |
static | GetRangeIdFromRssID ($rss_id) |
static | GetRssIdFromRangeId ($range_id) |
static | SetRssId ($range_id, $type=false) |
static | UnsetRssId ($range_id) |
static | GetAdminMsg ($user_id, $date) |
static | DoGarbageCollect () |
static | TouchNews ($news_id, $touch_stamp=null) |
static | DeleteNewsRanges ($range_id) |
static | DeleteNewsByAuthor ($user_id) |
static | find ($id) |
static | findBySql ($where) |
static | deleteBySql ($where) |
static | expireTableScheme () |
static | find ($class, $id) |
static | findBySQL ($class, $where) |
static | deleteBySQL ($class, $where) |
Detailed Description
Constructor & Destructor Documentation
__construct |
( |
|
$id = null | ) |
|
- Parameters
-
string | $id | primary key of table |
Reimplemented from SimpleORMap.
Member Function Documentation
delete entry from database the object is cleared and turned to new state
- Returns
- boolean
Reimplemented from SimpleORMap.
static deleteBySql |
( |
|
$where | ) |
|
|
static |
static DeleteNewsByAuthor |
( |
|
$user_id | ) |
|
|
static |
static DeleteNewsRanges |
( |
|
$range_id | ) |
|
|
static |
static DoGarbageCollect |
( |
| ) |
|
|
static |
static findBySql |
( |
|
$where | ) |
|
|
static |
static GetAdminMsg |
( |
|
$user_id, |
|
|
|
$date |
|
) |
| |
|
static |
static GetNewsByAuthor |
( |
|
$user_id, |
|
|
|
$as_objects = false |
|
) |
| |
|
static |
static GetNewsByRange |
( |
|
$range_id, |
|
|
|
$only_visible = false , |
|
|
|
$as_objects = false |
|
) |
| |
|
static |
static GetNewsByRSSId |
( |
|
$rss_id, |
|
|
|
$as_objects = false |
|
) |
| |
|
static |
static GetNewsObjects |
( |
|
$news_result | ) |
|
|
static |
static GetRangeFromRssID |
( |
|
$rss_id | ) |
|
|
static |
static GetRangeIdFromRssID |
( |
|
$rss_id | ) |
|
|
static |
static GetRssIdFromRangeId |
( |
|
$range_id | ) |
|
|
static |
static GetRssIdFromUserId |
( |
|
$user_id | ) |
|
|
static |
static GetUserIdFromRssID |
( |
|
$rss_id | ) |
|
|
static |
restore entry from database
- Returns
- boolean
Reimplemented from SimpleORMap.
setData |
( |
|
$data, |
|
|
|
$reset = false |
|
) |
| |
set multiple column values if second param is set, existing data in object will be discarded, else new data overrides old data
- Parameters
-
array | $data | assoc array |
boolean | $reset | |
- Returns
- number of columns changed
Reimplemented from SimpleORMap.
static SetRssId |
( |
|
$range_id, |
|
|
|
$type = false |
|
) |
| |
|
static |
store entry in database if data is actually changed triggerChdate() is called
- Returns
- number|boolean
Reimplemented from SimpleORMap.
static TouchNews |
( |
|
$news_id, |
|
|
|
$touch_stamp = null |
|
) |
| |
|
static |
static UnsetRssId |
( |
|
$range_id | ) |
|
|
static |
Field Documentation
The documentation for this class was generated from the following file: