nomidi\SeoHeroTool\SeoHeroToolSchemaCompany
Synopsis
class SeoHeroToolSchemaCompany
extends DataObject
{
- // members
- private static string $table_name = 'SeoHeroToolSchemaCompany';
- private static array $db = ;
- private static array $has_one = ;
- private static array $has_many = ;
- private static string $singular_name = 'Schema.org Company';
- // methods
- public void getCMSFields()
- public void onBeforeWrite()
- public static void OpeningHours()
- public static void current_entry()
- public static SiteConfig make_entry()
- public void requireDefaultRecords()
- public [type] canCreate()
- public [type] canDelete()
Hierarchy
Extends
- SilverStripe\ORM\DataObject
Members
private
- $db
- $has_many
- $has_one
- $singular_name
- $table_name
Methods
public
- OpeningHours()
- canCreate() — Disable the creation of new records, as a site should have just one!
- canDelete() — Disable the Deletion of records, as a site should always have one!
- current_entry()
- getCMSFields()
- make_entry() — Create SiteConfig with defaults from language file.
- onBeforeWrite()
- requireDefaultRecords() — Setup a default SiteConfig record if none exists