PHP Class PHPFusion\Rewrite\Permalinks

Inheritance: extends RewriteDriver
ファイルを表示 Open project: php-fusion/PHP-Fusion Class Usage Examples

Public Properties

Property Type Description
$debug_regex

Public Methods

Method Description
getOutput ( $output ) Returns the Output This function will first call the handleOutput() and then it will return the modified Output for SEO.
handle_url_routing ( $content ) Attempt to handle url routing

Protected Methods

Method Description
appendRootAll ( ) Append File Root
importPatterns ( ) Import the Available Patterns from Database

Private Methods

Method Description
getAliasURL ( string $url, string $php_url, string $type ) Get Alias URL for Permalink
handleOutput ( ) Main Function : Handles the Output This function will Handle the output by calling several functions which are used in this Class.
prepare_alias_lookup ( )
replace_output ( ) Do full replacement of the HTML output

Method Details

appendRootAll() protected method

Append the ROOT Dir Path to all relative links, which are from website This function will append the root directory path for all links, which are in website. (Not External HTTP links)
protected appendRootAll ( )

getOutput() public method

Returns the Output This function will first call the handleOutput() and then it will return the modified Output for SEO.
public getOutput ( $output )

handle_url_routing() public method

Attempt to handle url routing
public handle_url_routing ( $content )
$content

importPatterns() protected method

This will Import all the available Patterns for the Handlers from the Database and put it into $pattern_search and $pattern_replace array.
protected importPatterns ( )

Property Details

$debug_regex public_oe property

public $debug_regex