CyberDuck\SEO\Model\SeoHeadTag
SeoHeadTag
Object representing a non standard Meta tag which can be added to the current page through
the extra meta tags GridField
- Author: <andrewm@cyber-duck.co.uk>
- License: MIT License https://github.com/cyber-duck/silverstripe-seo/blob/master/LICENSE
Synopsis
class SeoHeadTag
extends DataObject
{
- // members
- private static string $table_name = 'SeoHeadTag';
- private static array $db = ;
- private static array $has_one = ;
- private static array $summary_fields = ;
- private static string $default_sort = 'Title';
- private static string $singular_name = 'Meta Tag';
- private static string $plural_name = 'Meta Tags';
- // methods
- public FieldList getCMSFields()
- private array getTagTypes()
Hierarchy
Extends
- SilverStripe\ORM\DataObject
Members
private
-
$db
Simple name, value, and type fields for a Meta tag -
$default_sort
Sort tags by name by default -
$has_one
Simple name, value, and type fields for a Meta tag -
$plural_name
Plural English name -
$singular_name
Singular English name -
$summary_fields
Show all fields in the Grid field -
$table_name
Table name
Methods
private
- getTagTypes() — Return an array of Meta tag types
public
- getCMSFields() — Add the Meta tag CMS fields