프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 setquerystring ( ) |
public setservervars ( ) |
public bool $routing | ||
리턴 | boolean |