Метод |
Описание |
|
ArticleHasFutureActions ( integer $p_articleNumber, integer $p_languageId ) : boolean |
Return TRUE if there are actions scheduled in the future. |
|
ArticlePublish ( integer $p_id = null ) |
This table delays an article's publish time to a later date. |
|
DoPendingActions ( ) : void |
Execute all pending actions. |
|
GetArticleEvents ( integer $p_articleNumber, integer $p_languageId = null, boolean $p_onlyFutureEvents = false ) : array |
Get all the events that will change the article's state. |
|
GetFutureActions ( integer $p_limit ) : array |
For now, this is mostly a hack to get the home page working. |
|
GetPendingActions ( ) : array |
Get all the actions that currently need to be performed. |
|
OnArticleDelete ( integer $p_articleNumber, integer $p_languageId ) : void |
This will be called whenever an article is deleted. |
|
delete ( ) |
constructor |
|
doAction ( ) : void |
Execute the action, and mark the action as completed. |
|
getActionTime ( ) : string |
Get the time the event is scheduled to happen. |
|
getArticleNumber ( ) : integer |
Return the article number associated with this action. |
|
getArticlePublishId ( ) : integer |
Get the unique ID that identifies this action. |
|
getFrontPageAction ( ) : mixed |
Get the front page state to switch to when the "publish time" arrives. |
|
getLanguageId ( ) : integer |
Return the language ID of the article. |
|
getPublishAction ( ) : mixed |
Get the published state to switch to when the "publish time" arrives:
NULL for no action, 'P' for Publish, or 'U' for Unpublish. |
|
getSectionPageAction ( ) : mixed |
Get the section page state to switch to when the "publish time" arrives. |
|
setActionTime ( string $p_value ) : boolean |
Set the time when the action(s) should be taken. |
|
setArticleNumber ( integer $p_value ) : boolean |
Set the Article number. |
|
setCompleted ( ) : void |
Mark that this action has been completed. |
|
setFrontPageAction ( $p_value ) : mixed |
Set the front page state to switch to when the "publish time" arrives. |
|
setLanguageId ( integer $p_value ) : boolean |
Set the language ID. |
|
setPublishAction ( $p_value ) : void |
Set the published state to switch to when the "publish time" arrives:
NULL for no action, 'P' for Publish, or 'U' for Unpublish. |
|
setSectionPageAction ( $p_value ) : mixed |
Set the section page state to switch to when the "publish time" arrives. |
|