View class to produce JSON responses
package |
Webmail |
---|---|
subpackage |
View |
set_pagetitle(string $title)
string
Page title
add_handler($obj, $func) : void
add_handlers($arr) : void
command()
add_label()
reset()
redirect(mixed $p = array(), int $delay = 1)
mixed
Either a string with the action or url parameters as key-value pairs
int
Delay in seconds
send()
raise_error(int $code, string $message)
int
Error code
string
Error message
remote_response(string $add = '') : void
deprecated | |
---|---|
string
Additional JS code
get_js_commands() : string
string
$out
__construct()
get_skin_path()
__get($var)
set_charset(string $charset)
To be specified in a meta tag and sent as http-header
string
Charset name
get_charset() : string
string
Output charset name
set_env(string $name, mixed $value)
string
Property name
mixed
Property value
get_env(string $name) : mixed
string
Property name
mixed
Property value
nocacheing_headers()
future_expire_header($offset = 2600000)
get_edit_field($col, $value, $attrib, $type = 'text') : string
string
HTML field definition
json_serialize($input) : string
string
Serialized JSON string
JS_OBJECT_NAME
texts :
commands :
callbacks :
type :
ajax_call :
framed :
pagetitle :
object_handlers :
browser :
app :
config :
charset :
env :