\StaticSiteUrlProcessor
Interface for building URL processing plug-ins for StaticSiteUrlList.
The URL processing plugins are used to process the relative URL before it it used for two separate purposes:
- Generating default URL and Title in the external content browser.
- Building content hierarchy.
For example, MOSS has a habit of putting unnecessary "/Pages/" elements into the URLs, and adding
.aspx extensions. We don't want to include these in the content hierarchy.
More sophisticated processing might be done to facilitate importing of less.
- Author: Sam Minee <sam@silverstripe.com>
Synopsis
interface StaticSiteUrlProcessor
{
- // methods
- public string getName()
- public string getDescription()
- public array processURL()
Methods
public
- getDescription() — Return an explanation of what processing is done.
- getName() — Return a name for the style of URLs to be processed.
- processURL() — Return a description for this processor, to be shown in the CMS.