Public Member Functions | |
init () | |
getTimestampAndCount () | |
getItemTimestamp ($id) | |
getCacheId () |
Public Attributes | |
$channel | |
$max_age_of_news | |
$max_count_of_news | |
$data |
Class for collecting necessary information about news from database
Definition at line 9 of file ApaLinesWidget.php.
ApaLinesWidget::getCacheId | ( | ) |
Method makes cache id for current widget content
Definition at line 334 of file ApaLinesWidget.php.
References getItemTimestamp(), and getTimestampAndCount().
Referenced by init().
ApaLinesWidget::getItemTimestamp | ( | $id | ) |
Method returns timestamp of the news line which DOCID or filename was passed
string | $id | DOCID or filename of the news file |
Definition at line 319 of file ApaLinesWidget.php.
Referenced by getCacheId().
ApaLinesWidget::getTimestampAndCount | ( | ) |
Method returns youngest timestamp among news lines, background news lines, multimedia lines coupled with total count of news, background news, multimedia lines those channel names coincided with the passed channels
Definition at line 287 of file ApaLinesWidget.php.
Referenced by getCacheId().
ApaLinesWidget::init | ( | ) |
Method collects overview info or detailed info about news line if id passed as $_GET['id']
Definition at line 30 of file ApaLinesWidget.php.
References getCacheId().