\URLSegmentExtension
Adds URLSegment functionality to Tags & Categories
- Author: Michael Strong <github@michaelstrong.co.uk>
Synopsis
class URLSegmentExtension
extends DataExtension
{
- // members
- private static array $db = ;
- // methods
- public void onBeforeWrite()
- public string generateURLSegment()
Hierarchy
Extends
- DataExtension
Members
private
- $db
Methods
public
- generateURLSegment() — Generates a unique URLSegment from the title.
- onBeforeWrite()