Property | Type | Description | |
---|---|---|---|
$current_domid | # resolved by render_menu | ||
$menu | Item prototype: [string accesskey =>] array( string title [, string uri [, array( item .. )]] ) | ||
$url |
Method | Description | |
---|---|---|
abrupt_rsp ( $body = '', $status = '200 OK', $content_type = 'text/plain; charset=utf-8', $exit = true ) | ||
error_rsp ( $msg, $status = '400 Bad Request', $content_type = 'text/plain; charset=utf-8', $exit = true ) | ||
json_rsp ( $data = null, $status = '200 OK', $exit = true, $pretty = true ) | ||
mkdirs ( $path, $maxdepth = 999, $mode = 509 ) | ||
render_menu ( $menu_disabled = false, $items = null, $baseurl = null, $currurlpath = null, $liststart = '<ul>', $listend = '</ul>' ) | ||
write_content ( GBContent $obj ) | Write blob version of $obj. Returns path written to or false if write was not needed. |
static public abrupt_rsp ( $body = '', $status = '200 OK', $content_type = 'text/plain; charset=utf-8', $exit = true ) |
static public error_rsp ( $msg, $status = '400 Bad Request', $content_type = 'text/plain; charset=utf-8', $exit = true ) |
static public json_rsp ( $data = null, $status = '200 OK', $exit = true, $pretty = true ) |
static public write_content ( GBContent $obj ) | ||
$obj | GBContent |