PHP 클래스 SubscriptionSection

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

공개 프로퍼티들

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

공개 메소드들

메소드 설명
AddSubscriberToPublication ( integer $p_subscriptionId, integer $p_publicationId, integer $p_languageId, array $p_values = null ) : boolean
GetNumSections ( integer $p_subscriptionId, integer $p_sectionId = null, integer $p_languageId = null ) : integer Return the number of sections matching the search criteria.
GetSubscriptionSections ( integer $p_subscriptionId, integer $p_sectionId = null, integer $p_languageId = null ) : array Return an array of SubscriptionSection objects matching the search criteria.
SubscriptionSection ( integer $p_subscriptionId = null, integer $p_sectionNumber = null, integer $p_languageId = null ) : SubscriptionSection Subscribers can be subscribed to individual sections of a publication.
getDays ( ) : integer The length of the subscription in days.
getExpirationDate ( ) fn getStartDate
getLanguageId ( ) : integer
getPaidDays ( ) : integer
getSectionNumber ( ) : integer
getStartDate ( ) : string Return the starting date in the form YYYY-MM-DD.
getSubscriptionId ( ) : integer
noticeSent ( ) : boolean
setDays ( integer $p_value ) : boolean Set length of the subscription in days.
setPaidDays ( integer $p_value ) : boolean
setStartDate ( string $p_value ) : boolean Set the start date, must be in the form YYYY-MM-DD.

메소드 상세

AddSubscriberToPublication() 공개 정적인 메소드

public static AddSubscriberToPublication ( integer $p_subscriptionId, integer $p_publicationId, integer $p_languageId, array $p_values = null ) : boolean
$p_subscriptionId integer
$p_publicationId integer
$p_languageId integer
$p_values array
리턴 boolean

GetNumSections() 공개 정적인 메소드

Return the number of sections matching the search criteria.
public static GetNumSections ( integer $p_subscriptionId, integer $p_sectionId = null, integer $p_languageId = null ) : integer
$p_subscriptionId integer
$p_sectionId integer
$p_languageId integer
리턴 integer

GetSubscriptionSections() 공개 정적인 메소드

Return an array of SubscriptionSection objects matching the search criteria.
public static GetSubscriptionSections ( integer $p_subscriptionId, integer $p_sectionId = null, integer $p_languageId = null ) : array
$p_subscriptionId integer
$p_sectionId integer
$p_languageId integer
리턴 array

SubscriptionSection() 공개 메소드

Subscribers can be subscribed to individual sections of a publication.
public SubscriptionSection ( integer $p_subscriptionId = null, integer $p_sectionNumber = null, integer $p_languageId = null ) : SubscriptionSection
$p_subscriptionId integer
$p_sectionNumber integer
$p_languageId integer
리턴 SubscriptionSection

getDays() 공개 메소드

The length of the subscription in days.
public getDays ( ) : integer
리턴 integer

getExpirationDate() 공개 메소드

fn getStartDate
public getExpirationDate ( )

getLanguageId() 공개 메소드

public getLanguageId ( ) : integer
리턴 integer

getPaidDays() 공개 메소드

public getPaidDays ( ) : integer
리턴 integer

getSectionNumber() 공개 메소드

public getSectionNumber ( ) : integer
리턴 integer

getStartDate() 공개 메소드

Return the starting date in the form YYYY-MM-DD.
public getStartDate ( ) : string
리턴 string

getSubscriptionId() 공개 메소드

public getSubscriptionId ( ) : integer
리턴 integer

noticeSent() 공개 메소드

public noticeSent ( ) : boolean
리턴 boolean

setDays() 공개 메소드

Set length of the subscription in days.
public setDays ( integer $p_value ) : boolean
$p_value integer
리턴 boolean

setPaidDays() 공개 메소드

public setPaidDays ( integer $p_value ) : boolean
$p_value integer
리턴 boolean

setStartDate() 공개 메소드

Set the start date, must be in the form YYYY-MM-DD.
public setStartDate ( string $p_value ) : boolean
$p_value string
리턴 boolean

프로퍼티 상세

$m_columnNames 공개적으로 프로퍼티

public $m_columnNames

$m_dbTableName 공개적으로 프로퍼티

public $m_dbTableName

$m_keyColumnNames 공개적으로 프로퍼티

public $m_keyColumnNames