Create an edit field for inclusion on a form
string
get_edit_field
(string $col, string $value, array $attrib, [string $type = 'text'])
-
string
$col: col field name
-
string
$value: value field value
-
array
$attrib: attrib HTML element attributes for field
-
string
$type: type HTML element type (default 'text')
Convert a variable into a javascript object notation
string
json_serialize
(mixed $input)
-
mixed
$input: Input value
Object constructor
rcube_output
__construct
()
Redefined in descendants as:
Send header with expire date 30 days in future
void
future_expire_header
([int $offset = 2600000])
-
int
$offset: Expiration time in seconds
Getter for output charset
string
get_charset
()
Environment variable getter.
mixed
get_env
(string $name)
-
string
$name: Property name
Send HTTP headers to prevent caching a page
void
nocacheing_headers
()
Show error page and terminate script execution
void
raise_error
(int $code, string $message)
-
int
$code: Error code
-
string
$message: Error message
Redefined in descendants as:
Redirect to a certain url.
void
redirect
([mixed $p = array()], [int $delay = 1])
-
mixed
$p: Either a string with the action or url parameters as key-value pairs
-
int
$delay: Delay in seconds
Redefined in descendants as:
Delete all stored env variables and commands
void
reset
()
Redefined in descendants as:
Send output to the client.
void
send
()
Redefined in descendants as:
Setter for output charset.
To be specified in a meta tag and sent as http-header
void
set_charset
(string $charset)
-
string
$charset: Charset name
Set environment variable
void
set_env
(string $name, mixed $value)
-
string
$name: Property name
-
mixed
$value: Property value
Redefined in descendants as:
Invoke display_message command
void
show_message
(string $message, [string $type = 'notice'], [array $vars = null], [boolean $override = true], [int $timeout = 0])
-
string
$message: Message to display
-
string
$type: Message type [notice|confirm|error]
-
array
$vars: Key-value pairs to be replaced in localized text
-
boolean
$override: Override last set message
-
int
$timeout: Message displaying time in seconds
Redefined in descendants as:
Magic getter
void
__get
( $var)