Dnkfbrknme\SiteInfo\Extension\SiteInfo
- Author: marcokernler
Synopsis
class SiteInfo
extends DataExtension
{
- // members
- private static array $db = ;
- private static array $has_one = ;
- private static array $has_many = ;
- // methods
- public void updateCMSFields()
- public string CountryNice()
- protected array _typesNice()
Hierarchy
Extends
- SilverStripe\ORM\DataExtension
Members
private
-
$db
Add some more fields to the base site config - $has_many — array
- $has_one — array
Methods
protected
- _typesNice() — Add translated labels for the dropdown field
public
- CountryNice()
- updateCMSFields() — Update the base fields with our added ones