\ubRouting
Basic Ubilling GET/POST abstraction and filtering class
Synopsis
class ubRouting
{
- // methods
- public void __construct()
- public static bool checkGet()
- public static bool checkPost()
- public static mixed|false filters()
- public static mixed/false get()
- public static mixed/false post()
- public static void nav()
- public static array rawGet()
- public static array rawPost()
- public static bool optionCliCheck()
- public static mixed/false optionCli()
- public static string/false optionCliMe()
- public static int optionCliCount()
Methods
public
- __construct() — Creates new Routing object instance
- checkGet() — Checks is all of variables array present in GET scope
- checkPost() — Checks is all of variables array present in POST scope
- filters() — Returns filtered data
- get() — Returns some variable value with optional filtering from GET scope
- optionCli() — Returns some variable value with optional filtering from CLI option
- optionCliCheck() — Checks is all of options array present in CLI command line options as --optionname=
- optionCliCount() — Returns count of available CLI options
- optionCliMe() — Returns current CLI application name
- post() — Returns some variable value with optional filtering from POST scope
- rawGet() — Returns complete $_GET array as is
- rawPost() — Returns complete $_POST array as is