PHP Class PHPFusion\Rewrite\Permalinks

Inheritance: extends RewriteDriver
Afficher le fichier Open project: php-fusion/PHP-Fusion Class Usage Examples

Méthodes publiques

Свойство Type Description
$debug_regex

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
appendRootAll ( ) Append File Root
importPatterns ( ) Import the Available Patterns from Database

Private Methods

Méthode 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 méthode

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 méthode

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 méthode

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

importPatterns() protected méthode

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