PHP 클래스 IssuePublish

상속: extends BaseFrm, implements publish
파일 보기 프로젝트 열기: sourcefabric/newscoop 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$m_columnNames
$m_dbTableName
$m_keyColumnNames
$m_keyIsAutoIncrement

공개 메소드들

메소드 설명
DoPendingActions ( ) : void Execute all pending actions.
GetFutureActions ( integer $p_limit ) : array For now, this is mostly a hack to get the home page working.
GetIssueEvents ( integer $p_publicationId, integer $p_issueNumber, $p_languageId = null, boolean $p_includeCompleted = true ) : array Get all the events that will change the issue's state.
GetPendingActions ( ) : array Get all the actions that currently need to be performed.
IssuePublish ( integer $p_id = null ) This table delays an issue's publish time to a later date.
OnIssueDelete ( $p_publicationId, integer $p_issueNumber, $p_languageId ) This should be called whenever an issue is deleted.
doAction ( ) : void Execute the action.
getActionTime ( ) : string Get the time the event is scheduled to happen.
getEventId ( ) : integer
getIssueNumber ( ) : integer
getLanguageId ( ) : integer
getPublicationId ( ) : integer
getPublishAction ( ) : mixed Get the published state to switch to when the "publish time" arrives.
getPublishArticlesAction ( ) : mixed Get whether to publish the articles when the "publish time" arrives.
isCompleted ( ) : boolean Return true if the action has been carried out.
setActionTime ( string $p_value ) : boolean Set the time the action should be executed.
setCompleted ( ) : void Mark that this action has been completed.
setIssueNumber ( integer $p_value ) : boolean Enter description here.
setLanguageId ( integer $p_value ) : boolean Set the language ID of the issue to publish.
setPublicationId ( integer $p_value ) : boolean Set the publication ID.
setPublishAction ( string $p_value ) : void Set the published state to switch to when the "publish time" arrives: 'P' for Publish, or 'U' for Unpublish.
setPublishArticlesAction ( string $p_value ) : mixed Set the front page state to switch to when the "publish time" arrives: 'Y' for Yes, or 'N' for No.

메소드 상세

DoPendingActions() 공개 정적인 메소드

Execute all pending actions.
public static DoPendingActions ( ) : void
리턴 void

GetFutureActions() 공개 정적인 메소드

The raw array is returned.
public static GetFutureActions ( integer $p_limit ) : array
$p_limit integer
리턴 array

GetIssueEvents() 공개 정적인 메소드

Returns an array of IssuePublish objects.
public static GetIssueEvents ( integer $p_publicationId, integer $p_issueNumber, $p_languageId = null, boolean $p_includeCompleted = true ) : array
$p_publicationId integer
$p_issueNumber integer
$p_includeCompleted boolean
리턴 array

GetPendingActions() 공개 정적인 메소드

Get all the actions that currently need to be performed.
public static GetPendingActions ( ) : array
리턴 array

IssuePublish() 공개 메소드

This table delays an issue's publish time to a later date.
public IssuePublish ( integer $p_id = null )
$p_id integer

OnIssueDelete() 공개 정적인 메소드

This should be called whenever an issue is deleted.
public static OnIssueDelete ( $p_publicationId, integer $p_issueNumber, $p_languageId )
$p_issueNumber integer

doAction() 공개 메소드

Execute the action.
public doAction ( ) : void
리턴 void

getActionTime() 공개 메소드

Will be returned in the format: YYYY-MM-DD HH:MM:SS
public getActionTime ( ) : string
리턴 string

getEventId() 공개 메소드

public getEventId ( ) : integer
리턴 integer

getIssueNumber() 공개 메소드

public getIssueNumber ( ) : integer
리턴 integer

getLanguageId() 공개 메소드

public getLanguageId ( ) : integer
리턴 integer

getPublicationId() 공개 메소드

public getPublicationId ( ) : integer
리턴 integer

getPublishAction() 공개 메소드

This can be NULL for no action, 'P' for Publish, or 'U' for Unpublish.
public getPublishAction ( ) : mixed
리턴 mixed

getPublishArticlesAction() 공개 메소드

This can be 'Y' for 'Yes', or 'N' for 'No'.
public getPublishArticlesAction ( ) : mixed
리턴 mixed

isCompleted() 공개 메소드

Return true if the action has been carried out.
public isCompleted ( ) : boolean
리턴 boolean

setActionTime() 공개 메소드

Set the time the action should be executed.
public setActionTime ( string $p_value ) : boolean
$p_value string Must be in the form YYYY-MM-DD HH:MM:SS
리턴 boolean

setCompleted() 공개 메소드

Mark that this action has been completed.
public setCompleted ( ) : void
리턴 void

setIssueNumber() 공개 메소드

..
public setIssueNumber ( integer $p_value ) : boolean
$p_value integer
리턴 boolean

setLanguageId() 공개 메소드

Set the language ID of the issue to publish.
public setLanguageId ( integer $p_value ) : boolean
$p_value integer
리턴 boolean

setPublicationId() 공개 메소드

Set the publication ID.
public setPublicationId ( integer $p_value ) : boolean
$p_value integer
리턴 boolean

setPublishAction() 공개 메소드

Set the published state to switch to when the "publish time" arrives: 'P' for Publish, or 'U' for Unpublish.
public setPublishAction ( string $p_value ) : void
$p_value string
리턴 void

setPublishArticlesAction() 공개 메소드

Set the front page state to switch to when the "publish time" arrives: 'Y' for Yes, or 'N' for No.
public setPublishArticlesAction ( string $p_value ) : mixed
$p_value string
리턴 mixed

프로퍼티 상세

$m_columnNames 공개적으로 프로퍼티

public $m_columnNames

$m_dbTableName 공개적으로 프로퍼티

public $m_dbTableName

$m_keyColumnNames 공개적으로 프로퍼티

public $m_keyColumnNames

$m_keyIsAutoIncrement 공개적으로 프로퍼티

public $m_keyIsAutoIncrement