PHP Class Craft\Seomatic_MetaFieldModel

Inheritance: extends Seomatic_MetaModel
显示文件 Open project: nystudio107/seomatic

Protected Properties

Property Type Description
$elementType

Public Methods

Method Description
getCpEditUrl ( ) : string | false Returns the element's CP edit URL.
getJsonLD ( $element ) : string Returns the Main Entity of Page JSON-LD for the entry, without mainEntryOfPage being set
isEditable ( ) : boolean Returns whether the current user can edit the element.
seoDescriptionUnparsed ( ) : string Returns the seoDescriptionUnparsed
seoKeywordsUnparsed ( ) : string Returns the seoKeywordsUnparsed
seoTitleUnparsed ( ) : string Returns the seoTitleUnparsed

Protected Methods

Method Description
defineAttributes ( ) : array

Method Details

defineAttributes() protected method

protected defineAttributes ( ) : array
return array

getCpEditUrl() public method

Returns the element's CP edit URL.
public getCpEditUrl ( ) : string | false
return string | false

getJsonLD() public method

Returns the Main Entity of Page JSON-LD for the entry, without mainEntryOfPage being set
public getJsonLD ( $element ) : string
return string

isEditable() public method

Returns whether the current user can edit the element.
public isEditable ( ) : boolean
return boolean

seoDescriptionUnparsed() public method

Returns the seoDescriptionUnparsed
public seoDescriptionUnparsed ( ) : string
return string

seoKeywordsUnparsed() public method

Returns the seoKeywordsUnparsed
public seoKeywordsUnparsed ( ) : string
return string

seoTitleUnparsed() public method

Returns the seoTitleUnparsed
public seoTitleUnparsed ( ) : string
return string

Property Details

$elementType protected_oe property

protected $elementType