PHP Class Newscoop\Entity\Publication

Afficher le fichier Open project: sourcefabric/newscoop Class Usage Examples

Protected Properties

Свойство Type Description
$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

Méthodes publiques

Méthode Description
__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.

Method Details

__construct() public méthode

public __construct ( )

addIssue() public méthode

Add issue
public addIssue ( Issue $issue ) : void
$issue Issue
Résultat void

getCaptchaEnabled() public méthode

public getCaptchaEnabled ( )

getCommentsArticleDefaultEnabled() public méthode

Gets the value of commentsArticleDefaultEnabled.

getCommentsCaptchaEnabled() public méthode

Gets the value of commentsCaptchaEnabled.
public getCommentsCaptchaEnabled ( ) : boolean
Résultat boolean

getCommentsEnabled() public méthode

Gets the value of commentsEnabled.
public getCommentsEnabled ( ) : boolean
Résultat boolean

getCommentsPublicModerated() public méthode

getCommentsSpamBlockingEnabled() public méthode

Gets the value of commentsSpamBlockingEnabled.

getCommentsSubscribersModerated() public méthode

getDefaultAlias() public méthode

Get defaultAlias
public getDefaultAlias ( ) : Aliases
Résultat Aliases

getDefaultAliasId() public méthode

Getter for defaultAliasId
public getDefaultAliasId ( ) : mixed
Résultat mixed

getDefaultLanguage() public méthode

Get default language of the publication
public getDefaultLanguage ( ) : Newscoop\Entity\Language
Résultat Newscoop\Entity\Language

getDefaultLanguageName() public méthode

Get default language name of the publication
public getDefaultLanguageName ( ) : string
Résultat string

getId() public méthode

Get id
public getId ( ) : integer
Résultat integer

getIssues() public méthode

Get issues
public getIssues ( ) : array
Résultat array

getLanguage() public méthode

Get language
public getLanguage ( ) : Newscoop\Entity\Language
Résultat Newscoop\Entity\Language

getLanguages() public méthode

Get languages
public getLanguages ( ) : array
Résultat array

getMetaDescription() public méthode

Gets the value of metaDescription.
public getMetaDescription ( ) : string
Résultat string

getMetaKeywords() public méthode

Gets the value of metaKeywords.
public getMetaKeywords ( ) : string
Résultat string

getMetaTitle() public méthode

Gets the value of metaTitle.
public getMetaTitle ( ) : string
Résultat string

getModeratorFrom() public méthode

Get moderator from email address
public getModeratorFrom ( ) : string
Résultat string

getModeratorTo() public méthode

Get moderator to email address
public getModeratorTo ( ) : string
Résultat string

getName() public méthode

Get name
public getName ( ) : string
Résultat string

getPublicCommentsEnabled() public méthode

Gets the value of public_enabled.
public getPublicCommentsEnabled ( ) : boolean
Résultat boolean

getPublicEnabled() public méthode

Gets the value of public_enabled.
public getPublicEnabled ( ) : boolean
Résultat boolean

getSections() public méthode

* Get sections
public getSections ( )

getSeo() public méthode

Get seo
public getSeo ( ) : array
Résultat array

getSeoChoices() public méthode

public getSeoChoices ( )

getUrlTypeId() public méthode

Gets the value of urlTypeId.
public getUrlTypeId ( ) : integer
Résultat integer

setCommentsArticleDefaultEnabled() public méthode

Sets the value of commentsArticleDefaultEnabled.
public setCommentsArticleDefaultEnabled ( boolean $commentsArticleDefaultEnabled ) : self
$commentsArticleDefaultEnabled boolean the comments article default enabled
Résultat self

setCommentsCaptchaEnabled() public méthode

Sets the value of commentsCaptchaEnabled.
public setCommentsCaptchaEnabled ( boolean $commentsCaptchaEnabled ) : self
$commentsCaptchaEnabled boolean the comments captcha enabled
Résultat self

setCommentsEnabled() public méthode

Sets the value of commentsEnabled.
public setCommentsEnabled ( boolean $commentsEnabled ) : self
$commentsEnabled boolean the comments enabled
Résultat self

setCommentsPublicModerated() public méthode

public setCommentsPublicModerated ( $commentsPublicModerated )

setCommentsSpamBlockingEnabled() public méthode

Sets the value of commentsSpamBlockingEnabled.
public setCommentsSpamBlockingEnabled ( boolean $commentsSpamBlockingEnabled ) : self
$commentsSpamBlockingEnabled boolean the comments spam blocking enabled
Résultat self

setCommentsSubscribersModerated() public méthode

public setCommentsSubscribersModerated ( $commentsSubscribersModerated )

setDefaultAlias() public méthode

public setDefaultAlias ( $alias )

setDefaultAliasId() public méthode

Setter for defaultAliasId
public setDefaultAliasId ( mixed $defaultAliasId ) : self
$defaultAliasId mixed Value to set
Résultat self

setDefaultLanguage() public méthode

Set default language
public setDefaultLanguage ( Language $language ) : void
$language Language
Résultat void

setId() public méthode

Set id
public setId ( integer $id ) : void
$id integer
Résultat void

setLanguage() public méthode

public setLanguage ( $language )

setMetaDescription() public méthode

Sets the value of metaDescription.
public setMetaDescription ( string $metaDescription ) : self
$metaDescription string the meta description
Résultat self

setMetaKeywords() public méthode

Sets the value of metaKeywords.
public setMetaKeywords ( string $metaKeywords ) : self
$metaKeywords string the meta keywords
Résultat self

setMetaTitle() public méthode

Sets the value of metaTitle.
public setMetaTitle ( string $metaTitle ) : self
$metaTitle string the meta title
Résultat self

setModeratorFrom() public méthode

Set moderator from email address
public setModeratorFrom ( string $p_moderator_from ) : Publication
$p_moderator_from string
Résultat Publication

setModeratorTo() public méthode

Set moderator to email address
public setModeratorTo ( string $p_moderator_to ) : Publication
$p_moderator_to string
Résultat Publication

setName() public méthode

public setName ( $name )

setPublicCommentsEnabled() public méthode

Sets the value of public_enabled.
public setPublicCommentsEnabled ( boolean $public_enabled ) : self
$public_enabled boolean the public_enabled
Résultat self

setPublicEnabled() public méthode

Sets the value of public_enabled.
public setPublicEnabled ( boolean $public_enabled ) : self
$public_enabled boolean the public enabled
Résultat self

setSeo() public méthode

Set seo
public setSeo ( array $seo ) : self
$seo array
Résultat self

setSeoChoices() public méthode

public setSeoChoices ( $data )

setUrlTypeId() public méthode

Sets the value of urlTypeId.
public setUrlTypeId ( integer $urlTypeId ) : self
$urlTypeId integer the url type id
Résultat self

Property Details

$commentsArticleDefaultEnabled protected_oe property

protected bool $commentsArticleDefaultEnabled
Résultat boolean

$commentsCaptchaEnabled protected_oe property

protected bool $commentsCaptchaEnabled
Résultat boolean

$commentsEnabled protected_oe property

protected bool $commentsEnabled
Résultat boolean

$commentsPublicModerated protected_oe property

protected bool $commentsPublicModerated
Résultat boolean

$commentsSpamBlockingEnabled protected_oe property

protected bool $commentsSpamBlockingEnabled
Résultat boolean

$commentsSubscribersModerated protected_oe property

protected bool $commentsSubscribersModerated
Résultat boolean

$defaultAlias protected_oe property

protected $defaultAlias

$defaultAliasId protected_oe property

protected int $defaultAliasId
Résultat integer

$forumId protected_oe property

protected int $forumId
Résultat integer

$id protected_oe property

protected int $id
Résultat integer

$issues protected_oe property

protected array $issues
Résultat array

$language protected_oe property

protected Newscoop\Entity\Language $language
Résultat Newscoop\Entity\Language

$metaDescription protected_oe property

protected string $metaDescription
Résultat string

$metaKeywords protected_oe property

protected string $metaKeywords
Résultat string

$metaTitle protected_oe property

protected string $metaTitle
Résultat string

$moderator_from protected_oe property

protected string $moderator_from
Résultat string

$moderator_to protected_oe property

protected string $moderator_to
Résultat string

$name protected_oe property

protected string $name
Résultat string

$public_enabled protected_oe property

protected bool $public_enabled
Résultat boolean

$seo protected_oe property

protected int $seo
Résultat integer

$urlErrorTemplateId protected_oe property

protected int $urlErrorTemplateId
Résultat integer

$urlTypeId protected_oe property

protected int $urlTypeId
Résultat integer