errorPage()
errorPage(string $msg) : void
Display error message.
Parameters
string | $msg | to display. |
CAsciiArt | Create an ASCII version of an image. |
CHttpGet | Get a image from a remote server using HTTP GET and If-Modified-Since. |
CImage | Resize and crop images on the fly, store generated images in a cache. |
CRemoteImage | Get a image from a remote server using HTTP GET and If-Modified-Since. |
CWhitelist | Act as whitelist (or blacklist). |
get(mixed $key, mixed $default = null) : mixed
Get input from query string or return default value if not set.
mixed | $key | as string or array of string values to look for in $_GET. |
mixed | $default | value to return when $key is not set in $_GET. |
value from $_GET or default value.
getConfig(string $key, mixed $default) : mixed
Get value from config array or default if key is not set in config array.
string | $key | the key in the config array. |
mixed | $default | value to be default if $key is not set in config. |
value as $config[$key] or $default.
getDefined(mixed $key, mixed $defined, mixed $undefined) : mixed
Get input from query string and set to $defined if defined or else $undefined.
mixed | $key | as string or array of string values to look for in $_GET. |
mixed | $defined | value to return when $key is set in $_GET. |
mixed | $undefined | value to return when $key is not set in $_GET. |
value as $defined or $undefined.