gorriecoe\DirectionsLink\DirectionsLinkExtension
Adds a directions link type to Link Object.
Synopsis
class DirectionsLinkExtension
extends DataExtension
{
- // methods
- public FieldList updateCMSFields()
- public void updateLinkURL()
- public void onBeforeWrite()
Hierarchy
Extends
- SilverStripe\ORM\DataExtension
Members
private
- $db
—
array
Database fields - $types
—
array
A map of object types that can be linked to Custom dataobjects can be added to this
Methods
public
- onBeforeWrite() — Event handler called before writing to the database.
- updateCMSFields() — Update Fields
- updateLinkURL() — Update LinkURL