Metadata
trait Metadata
Adds support for HTML meta properties to object.
Note that the client object must also use \Tfish\Traits\ValidateString.
Methods
string
metaTitle()
Return meta title.
setMetaTitle(string $metaTitle)
Set meta title.
string
metaDescription()
Return meta description.
setMetaDescription(string $metaDescription)
Set meta description.
string
metaSeo()
Return SEO-friendly string.
setMetaSeo(string $metaSeo)
Set SEO-friendly string
Details
at line 45
string
metaTitle()
Return meta title.
Used to set the
at line 55
setMetaTitle(string $metaTitle)
Set meta title.
at line 67
string
metaDescription()
Return meta description.
Used to set the tag.
at line 77
setMetaDescription(string $metaDescription)
Set meta description.
at line 90
string
metaSeo()
Return SEO-friendly string.
This is an SEO-friendly text fragment that can be appended to URLs. It does not affct URL function in any way, since Tuskfish never uses it as a parameter.
at line 100
setMetaSeo(string $metaSeo)
Set SEO-friendly string