PHP Class Common\Doctrine\Entity\Meta

显示文件 Open project: forkcms/forkcms Class Usage Examples

Public Methods

Method 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 method

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 method

public static fromBackendMeta ( Meta $meta ) : self
$meta Backend\Core\Engine\Meta
return self

getCustom() public method

public getCustom ( ) : string
return string

getData() public method

public getData ( ) : array
return array

getDescription() public method

public getDescription ( ) : string
return string

getId() public method

public getId ( ) : integer
return integer

getKeywords() public method

public getKeywords ( ) : string
return string

getSEOFollow() public method

public getSEOFollow ( ) : SEOFollow | null
return Common\Doctrine\ValueObject\SEOFollow | null

getSEOIndex() public method

public getSEOIndex ( ) : SEOIndex | null
return Common\Doctrine\ValueObject\SEOIndex | null

getTitle() public method

public getTitle ( ) : string
return string

getUrl() public method

public getUrl ( ) : string
return string

hasSEOFollow() public method

public hasSEOFollow ( )

hasSEOIndex() public method

public hasSEOIndex ( )

isDescriptionOverwrite() public method

public isDescriptionOverwrite ( ) : boolean
return boolean

isKeywordsOverwrite() public method

public isKeywordsOverwrite ( ) : boolean
return boolean

isTitleOverwrite() public method

public isTitleOverwrite ( ) : boolean
return boolean

isUrlOverwrite() public method

public isUrlOverwrite ( ) : boolean
return boolean

serialiseData() public method

public serialiseData ( )

unSerialiseData() public method

public unSerialiseData ( )

update() public method

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 method

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