PHP Класс Newscoop\Entity\Publication

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$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.
public getCommentsArticleDefaultEnabled ( ) : boolean
Результат boolean

getCommentsCaptchaEnabled() публичный метод

Gets the value of commentsCaptchaEnabled.
public getCommentsCaptchaEnabled ( ) : boolean
Результат boolean

getCommentsEnabled() публичный метод

Gets the value of commentsEnabled.
public getCommentsEnabled ( ) : boolean
Результат boolean

getCommentsPublicModerated() публичный метод

getCommentsSpamBlockingEnabled() публичный метод

Gets the value of commentsSpamBlockingEnabled.
public getCommentsSpamBlockingEnabled ( ) : boolean
Результат boolean

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.
public getPublicCommentsEnabled ( ) : boolean
Результат boolean

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