PHP 클래스 Newscoop\Entity\Publication

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

보호된 프로퍼티들

프로퍼티 타입 설명
$commentsArticleDefaultEnabled boolean
$commentsCaptchaEnabled boolean
$commentsEnabled boolean
$commentsPublicModerated boolean
$commentsSpamBlockingEnabled boolean
$commentsSubscribersModerated boolean
$defaultAlias
$defaultAliasId integer
$forumId integer
$id integer
$issues array
$language Newscoop\Entity\Language
$metaDescription string
$metaKeywords string
$metaTitle string
$moderator_from string
$moderator_to string
$name string
$public_enabled boolean
$seo integer
$urlErrorTemplateId integer
$urlTypeId integer

공개 메소드들

메소드 설명
__construct ( )
addIssue ( Issue $issue ) : void Add issue
getCaptchaEnabled ( )
getCommentsArticleDefaultEnabled ( ) : boolean Gets the value of commentsArticleDefaultEnabled.
getCommentsCaptchaEnabled ( ) : boolean Gets the value of commentsCaptchaEnabled.
getCommentsEnabled ( ) : boolean Gets the value of commentsEnabled.
getCommentsPublicModerated ( )
getCommentsSpamBlockingEnabled ( ) : boolean Gets the value of commentsSpamBlockingEnabled.
getCommentsSubscribersModerated ( )
getDefaultAlias ( ) : Aliases Get defaultAlias
getDefaultAliasId ( ) : mixed Getter for defaultAliasId
getDefaultLanguage ( ) : Newscoop\Entity\Language Get default language of the publication
getDefaultLanguageName ( ) : string Get default language name of the publication
getId ( ) : integer Get id
getIssues ( ) : array Get issues
getLanguage ( ) : Newscoop\Entity\Language Get language
getLanguages ( ) : array Get languages
getMetaDescription ( ) : string Gets the value of metaDescription.
getMetaKeywords ( ) : string Gets the value of metaKeywords.
getMetaTitle ( ) : string Gets the value of metaTitle.
getModeratorFrom ( ) : string Get moderator from email address
getModeratorTo ( ) : string Get moderator to email address
getName ( ) : string Get name
getPublicCommentsEnabled ( ) : boolean Gets the value of public_enabled.
getPublicEnabled ( ) : boolean Gets the value of public_enabled.
getSections ( ) * Get sections
getSeo ( ) : array Get seo
getSeoChoices ( )
getUrlTypeId ( ) : integer Gets the value of urlTypeId.
setCommentsArticleDefaultEnabled ( boolean $commentsArticleDefaultEnabled ) : self Sets the value of commentsArticleDefaultEnabled.
setCommentsCaptchaEnabled ( boolean $commentsCaptchaEnabled ) : self Sets the value of commentsCaptchaEnabled.
setCommentsEnabled ( boolean $commentsEnabled ) : self Sets the value of commentsEnabled.
setCommentsPublicModerated ( $commentsPublicModerated )
setCommentsSpamBlockingEnabled ( boolean $commentsSpamBlockingEnabled ) : self Sets the value of commentsSpamBlockingEnabled.
setCommentsSubscribersModerated ( $commentsSubscribersModerated )
setDefaultAlias ( $alias )
setDefaultAliasId ( mixed $defaultAliasId ) : self Setter for defaultAliasId
setDefaultLanguage ( Language $language ) : void Set default language
setId ( integer $id ) : void Set id
setLanguage ( $language )
setMetaDescription ( string $metaDescription ) : self Sets the value of metaDescription.
setMetaKeywords ( string $metaKeywords ) : self Sets the value of metaKeywords.
setMetaTitle ( string $metaTitle ) : self Sets the value of metaTitle.
setModeratorFrom ( string $p_moderator_from ) : Publication Set moderator from email address
setModeratorTo ( string $p_moderator_to ) : Publication Set moderator to email address
setName ( $name )
setPublicCommentsEnabled ( boolean $public_enabled ) : self Sets the value of public_enabled.
setPublicEnabled ( boolean $public_enabled ) : self Sets the value of public_enabled.
setSeo ( array $seo ) : self Set seo
setSeoChoices ( $data )
setUrlTypeId ( integer $urlTypeId ) : self Sets the value of urlTypeId.

메소드 상세

__construct() 공개 메소드

public __construct ( )

addIssue() 공개 메소드

Add issue
public addIssue ( Issue $issue ) : void
$issue Issue
리턴 void

getCaptchaEnabled() 공개 메소드

public getCaptchaEnabled ( )

getCommentsArticleDefaultEnabled() 공개 메소드

Gets the value of commentsArticleDefaultEnabled.

getCommentsCaptchaEnabled() 공개 메소드

Gets the value of commentsCaptchaEnabled.

getCommentsEnabled() 공개 메소드

Gets the value of commentsEnabled.
public getCommentsEnabled ( ) : boolean
리턴 boolean

getCommentsPublicModerated() 공개 메소드

getCommentsSpamBlockingEnabled() 공개 메소드

Gets the value of commentsSpamBlockingEnabled.

getCommentsSubscribersModerated() 공개 메소드

getDefaultAlias() 공개 메소드

Get defaultAlias
public getDefaultAlias ( ) : Aliases
리턴 Aliases

getDefaultAliasId() 공개 메소드

Getter for defaultAliasId
public getDefaultAliasId ( ) : mixed
리턴 mixed

getDefaultLanguage() 공개 메소드

Get default language of the publication
public getDefaultLanguage ( ) : Newscoop\Entity\Language
리턴 Newscoop\Entity\Language

getDefaultLanguageName() 공개 메소드

Get default language name of the publication
public getDefaultLanguageName ( ) : string
리턴 string

getId() 공개 메소드

Get id
public getId ( ) : integer
리턴 integer

getIssues() 공개 메소드

Get issues
public getIssues ( ) : array
리턴 array

getLanguage() 공개 메소드

Get language
public getLanguage ( ) : Newscoop\Entity\Language
리턴 Newscoop\Entity\Language

getLanguages() 공개 메소드

Get languages
public getLanguages ( ) : array
리턴 array

getMetaDescription() 공개 메소드

Gets the value of metaDescription.
public getMetaDescription ( ) : string
리턴 string

getMetaKeywords() 공개 메소드

Gets the value of metaKeywords.
public getMetaKeywords ( ) : string
리턴 string

getMetaTitle() 공개 메소드

Gets the value of metaTitle.
public getMetaTitle ( ) : string
리턴 string

getModeratorFrom() 공개 메소드

Get moderator from email address
public getModeratorFrom ( ) : string
리턴 string

getModeratorTo() 공개 메소드

Get moderator to email address
public getModeratorTo ( ) : string
리턴 string

getName() 공개 메소드

Get name
public getName ( ) : string
리턴 string

getPublicCommentsEnabled() 공개 메소드

Gets the value of public_enabled.

getPublicEnabled() 공개 메소드

Gets the value of public_enabled.
public getPublicEnabled ( ) : boolean
리턴 boolean

getSections() 공개 메소드

* Get sections
public getSections ( )

getSeo() 공개 메소드

Get seo
public getSeo ( ) : array
리턴 array

getSeoChoices() 공개 메소드

public getSeoChoices ( )

getUrlTypeId() 공개 메소드

Gets the value of urlTypeId.
public getUrlTypeId ( ) : integer
리턴 integer

setCommentsArticleDefaultEnabled() 공개 메소드

Sets the value of commentsArticleDefaultEnabled.
public setCommentsArticleDefaultEnabled ( boolean $commentsArticleDefaultEnabled ) : self
$commentsArticleDefaultEnabled boolean the comments article default enabled
리턴 self

setCommentsCaptchaEnabled() 공개 메소드

Sets the value of commentsCaptchaEnabled.
public setCommentsCaptchaEnabled ( boolean $commentsCaptchaEnabled ) : self
$commentsCaptchaEnabled boolean the comments captcha enabled
리턴 self

setCommentsEnabled() 공개 메소드

Sets the value of commentsEnabled.
public setCommentsEnabled ( boolean $commentsEnabled ) : self
$commentsEnabled boolean the comments enabled
리턴 self

setCommentsPublicModerated() 공개 메소드

public setCommentsPublicModerated ( $commentsPublicModerated )

setCommentsSpamBlockingEnabled() 공개 메소드

Sets the value of commentsSpamBlockingEnabled.
public setCommentsSpamBlockingEnabled ( boolean $commentsSpamBlockingEnabled ) : self
$commentsSpamBlockingEnabled boolean the comments spam blocking enabled
리턴 self

setCommentsSubscribersModerated() 공개 메소드

public setCommentsSubscribersModerated ( $commentsSubscribersModerated )

setDefaultAlias() 공개 메소드

public setDefaultAlias ( $alias )

setDefaultAliasId() 공개 메소드

Setter for defaultAliasId
public setDefaultAliasId ( mixed $defaultAliasId ) : self
$defaultAliasId mixed Value to set
리턴 self

setDefaultLanguage() 공개 메소드

Set default language
public setDefaultLanguage ( Language $language ) : void
$language Language
리턴 void

setId() 공개 메소드

Set id
public setId ( integer $id ) : void
$id integer
리턴 void

setLanguage() 공개 메소드

public setLanguage ( $language )

setMetaDescription() 공개 메소드

Sets the value of metaDescription.
public setMetaDescription ( string $metaDescription ) : self
$metaDescription string the meta description
리턴 self

setMetaKeywords() 공개 메소드

Sets the value of metaKeywords.
public setMetaKeywords ( string $metaKeywords ) : self
$metaKeywords string the meta keywords
리턴 self

setMetaTitle() 공개 메소드

Sets the value of metaTitle.
public setMetaTitle ( string $metaTitle ) : self
$metaTitle string the meta title
리턴 self

setModeratorFrom() 공개 메소드

Set moderator from email address
public setModeratorFrom ( string $p_moderator_from ) : Publication
$p_moderator_from string
리턴 Publication

setModeratorTo() 공개 메소드

Set moderator to email address
public setModeratorTo ( string $p_moderator_to ) : Publication
$p_moderator_to string
리턴 Publication

setName() 공개 메소드

public setName ( $name )

setPublicCommentsEnabled() 공개 메소드

Sets the value of public_enabled.
public setPublicCommentsEnabled ( boolean $public_enabled ) : self
$public_enabled boolean the public_enabled
리턴 self

setPublicEnabled() 공개 메소드

Sets the value of public_enabled.
public setPublicEnabled ( boolean $public_enabled ) : self
$public_enabled boolean the public enabled
리턴 self

setSeo() 공개 메소드

Set seo
public setSeo ( array $seo ) : self
$seo array
리턴 self

setSeoChoices() 공개 메소드

public setSeoChoices ( $data )

setUrlTypeId() 공개 메소드

Sets the value of urlTypeId.
public setUrlTypeId ( integer $urlTypeId ) : self
$urlTypeId integer the url type id
리턴 self

프로퍼티 상세

$commentsArticleDefaultEnabled 보호되어 있는 프로퍼티

protected bool $commentsArticleDefaultEnabled
리턴 boolean

$commentsCaptchaEnabled 보호되어 있는 프로퍼티

protected bool $commentsCaptchaEnabled
리턴 boolean

$commentsEnabled 보호되어 있는 프로퍼티

protected bool $commentsEnabled
리턴 boolean

$commentsPublicModerated 보호되어 있는 프로퍼티

protected bool $commentsPublicModerated
리턴 boolean

$commentsSpamBlockingEnabled 보호되어 있는 프로퍼티

protected bool $commentsSpamBlockingEnabled
리턴 boolean

$commentsSubscribersModerated 보호되어 있는 프로퍼티

protected bool $commentsSubscribersModerated
리턴 boolean

$defaultAlias 보호되어 있는 프로퍼티

protected $defaultAlias

$defaultAliasId 보호되어 있는 프로퍼티

protected int $defaultAliasId
리턴 integer

$forumId 보호되어 있는 프로퍼티

protected int $forumId
리턴 integer

$id 보호되어 있는 프로퍼티

protected int $id
리턴 integer

$issues 보호되어 있는 프로퍼티

protected array $issues
리턴 array

$language 보호되어 있는 프로퍼티

protected Newscoop\Entity\Language $language
리턴 Newscoop\Entity\Language

$metaDescription 보호되어 있는 프로퍼티

protected string $metaDescription
리턴 string

$metaKeywords 보호되어 있는 프로퍼티

protected string $metaKeywords
리턴 string

$metaTitle 보호되어 있는 프로퍼티

protected string $metaTitle
리턴 string

$moderator_from 보호되어 있는 프로퍼티

protected string $moderator_from
리턴 string

$moderator_to 보호되어 있는 프로퍼티

protected string $moderator_to
리턴 string

$name 보호되어 있는 프로퍼티

protected string $name
리턴 string

$public_enabled 보호되어 있는 프로퍼티

protected bool $public_enabled
리턴 boolean

$seo 보호되어 있는 프로퍼티

protected int $seo
리턴 integer

$urlErrorTemplateId 보호되어 있는 프로퍼티

protected int $urlErrorTemplateId
리턴 integer

$urlTypeId 보호되어 있는 프로퍼티

protected int $urlTypeId
리턴 integer