BurnBright\ExternalURLField\ExternalURL
Synopsis
class ExternalURL
extends DBVarchar
{
- // members
- private static array $casting = ;
- // methods
- public void __construct()
- public void Nice()
- public void Domain()
- public void NoWWW()
- public void scaffoldFormField()
- public void forTemplate()
Hierarchy
Extends
- SilverStripe\ORM\FieldType\DBVarchar
Members
private
- $casting
Methods
public
- __construct() — 2083 is the lowest common denominator when it comes to url lengths.
- Domain() — Get just the domain of the url.
- Nice() — Remove ugly parts of a url to make it nice
- NoWWW() — Remove the www subdomain, if present.
- forTemplate()
- scaffoldFormField() — Scaffold the ExternalURLField for this ExternalURL