Property | Type | Description | |
---|---|---|---|
$defaultPermalink | string | Default permalink |
Method | Description | |
---|---|---|
__construct ( string $defaultPermalink ) | Constructor | |
create ( Sculpin\Core\Source\SourceInterface $source ) |
Method | Description | |
---|---|---|
generatePermalinkPathname ( Sculpin\Core\Source\SourceInterface $source ) |
Method | Description | |
---|---|---|
isDatePath ( string $path ) : mixed | Does the specified path represent a date? | |
normalize ( string $param, string $space = '-' ) : string | Normalize parameter to be used in human readable URL |
public __construct ( string $defaultPermalink ) | ||
$defaultPermalink | string | Default permalink |
public create ( Sculpin\Core\Source\SourceInterface $source ) | ||
$source | Sculpin\Core\Source\SourceInterface |
protected generatePermalinkPathname ( Sculpin\Core\Source\SourceInterface $source ) | ||
$source | Sculpin\Core\Source\SourceInterface |
protected string $defaultPermalink | ||
return | string |