PHP Class Common\Doctrine\Entity\Meta

Afficher le fichier Open project: forkcms/forkcms Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( string $keywords, boolean $keywordsOverwrite, string $description, boolean $descriptionOverwrite, string $title, boolean $titleOverwrite, string $url, boolean $urlOverwrite, string $custom, array $data, integer | null $id = null )
fromBackendMeta ( Meta $meta ) : self
getCustom ( ) : string
getData ( ) : array
getDescription ( ) : string
getId ( ) : integer
getKeywords ( ) : string
getSEOFollow ( ) : SEOFollow | null
getSEOIndex ( ) : SEOIndex | null
getTitle ( ) : string
getUrl ( ) : string
hasSEOFollow ( )
hasSEOIndex ( )
isDescriptionOverwrite ( ) : boolean
isKeywordsOverwrite ( ) : boolean
isTitleOverwrite ( ) : boolean
isUrlOverwrite ( ) : boolean
serialiseData ( )
unSerialiseData ( )
update ( string $keywords, boolean $keywordsOverwrite, string $description, boolean $descriptionOverwrite, string $title, boolean $titleOverwrite, string $url, boolean $urlOverwrite, string $custom, array $data )
updateWithFormData ( array $metaData ) : self Used in the transformer of the Symfony form type for this entity

Method Details

__construct() public méthode

public __construct ( string $keywords, boolean $keywordsOverwrite, string $description, boolean $descriptionOverwrite, string $title, boolean $titleOverwrite, string $url, boolean $urlOverwrite, string $custom, array $data, integer | null $id = null )
$keywords string
$keywordsOverwrite boolean
$description string
$descriptionOverwrite boolean
$title string
$titleOverwrite boolean
$url string
$urlOverwrite boolean
$custom string
$data array
$id integer | null

fromBackendMeta() public static méthode

public static fromBackendMeta ( Meta $meta ) : self
$meta Backend\Core\Engine\Meta
Résultat self

getCustom() public méthode

public getCustom ( ) : string
Résultat string

getData() public méthode

public getData ( ) : array
Résultat array

getDescription() public méthode

public getDescription ( ) : string
Résultat string

getId() public méthode

public getId ( ) : integer
Résultat integer

getKeywords() public méthode

public getKeywords ( ) : string
Résultat string

getSEOFollow() public méthode

public getSEOFollow ( ) : SEOFollow | null
Résultat Common\Doctrine\ValueObject\SEOFollow | null

getSEOIndex() public méthode

public getSEOIndex ( ) : SEOIndex | null
Résultat Common\Doctrine\ValueObject\SEOIndex | null

getTitle() public méthode

public getTitle ( ) : string
Résultat string

getUrl() public méthode

public getUrl ( ) : string
Résultat string

hasSEOFollow() public méthode

public hasSEOFollow ( )

hasSEOIndex() public méthode

public hasSEOIndex ( )

isDescriptionOverwrite() public méthode

public isDescriptionOverwrite ( ) : boolean
Résultat boolean

isKeywordsOverwrite() public méthode

public isKeywordsOverwrite ( ) : boolean
Résultat boolean

isTitleOverwrite() public méthode

public isTitleOverwrite ( ) : boolean
Résultat boolean

isUrlOverwrite() public méthode

public isUrlOverwrite ( ) : boolean
Résultat boolean

serialiseData() public méthode

public serialiseData ( )

unSerialiseData() public méthode

public unSerialiseData ( )

update() public méthode

public update ( string $keywords, boolean $keywordsOverwrite, string $description, boolean $descriptionOverwrite, string $title, boolean $titleOverwrite, string $url, boolean $urlOverwrite, string $custom, array $data )
$keywords string
$keywordsOverwrite boolean
$description string
$descriptionOverwrite boolean
$title string
$titleOverwrite boolean
$url string
$urlOverwrite boolean
$custom string
$data array

updateWithFormData() public static méthode

Used in the transformer of the Symfony form type for this entity
public static updateWithFormData ( array $metaData ) : self
$metaData array
Résultat self