PHP Class Craft\Seomatic_MetaModel

Inheritance: extends craft\BaseElementModel
Datei anzeigen Open project: nystudio107/seomatic Class Usage Examples

Protected Properties

Property Type Description
$elementType

Public Methods

Method Description
getCpEditUrl ( ) : string | false Returns the element's CP edit URL.
isEditable ( ) : boolean Returns whether the current user can edit the element.
seoDescription ( ) : string Returns the seoDescription
seoImage ( ) : string Returns the seoImage as a url
seoImageId ( ) : string Returns the seoImageId
seoKeywords ( ) : string Returns the seoKeywords
seoTitle ( ) : string Returns the seoTitle

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

isEditable() public method

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

seoDescription() public method

Returns the seoDescription
public seoDescription ( ) : string
return string

seoImage() public method

Returns the seoImage as a url
public seoImage ( ) : string
return string

seoImageId() public method

Returns the seoImageId
public seoImageId ( ) : string
return string

seoKeywords() public method

Returns the seoKeywords
public seoKeywords ( ) : string
return string

seoTitle() public method

Returns the seoTitle
public seoTitle ( ) : string
return string

Property Details

$elementType protected_oe property

protected $elementType