Свойство | Тип | Описание | |
---|---|---|---|
$routing | boolean | True = SEF URL to FilePath False = File Path to SEF URL |
Метод | Описание | |
---|---|---|
__construct ( ) | ||
getFilePath ( ) | Index Include File | |
rewritePage ( ) | Call all the functions to process rewrite detection and further actions. | |
setGetParameters ( mixed $get_parameters ) | ||
setPathtofile ( mixed $pathtofile ) | ||
setquerystring ( ) | Set the new QUERY_STRING This function will set the values of QUERY_STRING to new value which is calculated in buildParams(). | |
setservervars ( ) | Set the PHP_SELF and SCRIPT_NAME to the suitable filepath. |
Метод | Описание | |
---|---|---|
makeSearchRegex ( string $pattern, string $type ) | Builds the Regex pattern for a specific Type string |
Метод | Описание | |
---|---|---|
buildParams ( ) | Builds the $_GET parameters This function will build the GET parameters and also the Query String. | |
checkAlias ( ) | Checks if there is any matching Alias or not | |
checkAliasPatterns ( ) | Checks if there is any matching Alias Pattern or not | |
checkPattern ( ) | Builds the Regular Expressions Patterns | |
explodeURL ( string $url, string $param_delimiter = "&" ) | Explodes a URL into Filename and Get Parameters | |
getAliasURL ( string $url, string $php_url, string $type ) | Get Alias URL for Router This function will return an Array of 2 elements for a specific Alias: 1. The Permalink URL of Alias 2. PHP URL of the Alias | |
importPatterns ( ) | Import the Available Patterns from Database | |
setVariables ( ) | Call the Functions to Set GET Parameters and Query String This function will call the functions to set Server GET parameters and the QUERY_STRING. |
public getFilePath ( ) |
protected makeSearchRegex ( string $pattern, string $type ) | ||
$pattern | string | The String |
$type | string | Type or Handler name |
public rewritePage ( ) |
public setGetParameters ( mixed $get_parameters ) | ||
$get_parameters | mixed |
public setquerystring ( ) |
public setservervars ( ) |
public bool $routing | ||
Результат | boolean |