errorPage()
errorPage(string $msg) : void
Default configuration options, can be overridden in own config-file.
Parameters
| string | $msg | to display. |
Resize and crop images on the fly, store generated images in a cache.
This version is a all-in-one version of img.php, it is not dependant an any other file so you can simply copy it to any place you want it.
| CHttpGet | Get a image from a remote server using HTTP GET and If-Modified-Since. |
| CRemoteImage | 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. |
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.
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.
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.