\SluggableExtension
Synopsis
class SluggableExtension
extends DataExtension
{
- // members
- private static array $db = ;
- // methods
- public void onBeforeWrite()
- public void updateCMSFields()
- public string generateURLSegment()
- public bool validURLSegment()
Hierarchy
Extends
- DataExtension
Members
private
- $db
Methods
public
- generateURLSegment() — Generate a URL segment based on the title provided.
- onBeforeWrite()
- updateCMSFields()
- validURLSegment() — Returns TRUE if this object has a URLSegment value that does not conflict with any other objects. This methods checks for: - An option with the same URLSegment that has a conflict.