App\Core_Redirection
Inherited from cmsApplication_List
Public Methods
public | __construct() Constructor
|
public boolean | viewMainPage(int $pg=1) View Main Page
|
public bool|array String array | getValidationErrorListBeforeSaveItem(array $datavalues) Validates save item. If there's an error, it will return an array with one or more error string, otherwise it will return a boolean true $CurrentUser
|
public array | modifyDataValuesBeforeSaveItem(array $datavalues) Before save item
|
public string | removePrecedingSlash(string $path) Remove preceding slash from string
|
public array | getItemFromURL(string $url, string $fields=' *') find Redirection item from URL string
|
public varied | getArrayItemFromURL(string $url, array $rules) Similar to getItemFromURL but searching from array of rules instead of DB table. Useful when array of rules stored in cache.
|
public array | getItemByExactPath(string $path) Get exact path $SystemDB
|
public | addHits(array $rule) Add hits count for specified rule. type $SystemDB
|
public | doRedirect() Trigger redirect for current request when there's matching rule.
|
public boolean | Run(array $command) Run Command
|