classname: htmlobject_response
Response
@package htmlobjects
@author Alexander Kuballa [akuballa@users.sourceforge.net]
@copyright Copyright (c) 2008 - 2010, Alexander Kuballa
@license BSD License (see LICENSE.TXT)
@version 1.0
filename: htmlobject.response.class.php
Methods
Attributes
topattribute: params
access: public
default:
topaccess: public
default:
array()
Params @access public @var array
attribute: parent
access: public
default:
access: public
default:
array()
Params @access private @var array
Methods
topfunction: __construct
params:
topparams:
$html $id = 'response'
Constructor @param htmlobject $html @param string $id @access public
function: add
params:
topparams:
$key $values
Add params @access public @param string $key @param string | array $values
function: cancel
topIs form canceled ? @access public @return true when form is canceled
function: get_array
params:
topparams:
$key = null $action = null
Params to array @access public @param string $tag name of action param @param string $action action @return array(key => value)
function: get_form
params:
topparams:
$tag = null $action = null $submit = true
Params to htmlobject_formbuilder @access public @param string $tag name of action param @param string $action action @param bool $submit add submit buttons @return htmlobject_formbuilder
function: get_params_string
params:
topparams:
$params $firstchar = '?' $encode = true
Get params as string @access public @param array $params @param enum $firstchar [?|&] @param bool $encode urlencode @return string
function: get_string
params:
topparams:
$tag = null $action = null $firstchar = '&' $encode = true
Params to string @access public @param string $tag name of action param @param string $action action @param enum $firstchar [?|&] @param bool $encode urlencode @return string
function: get_url
params:
topparams:
$tag $action $param = null $msg = null
Get url @access public @param string $tag name of additional param @param string $action action @param string $param name of message param @param array $msg message @return string
function: redirect
params:
topparams:
$url
Header redirect tries php header redirect, on fail js redirect, on fail meta redirect @access public @param string $url
function: submit
topIs form submitted ? @access public @return true when form is submitted
function: response
topClone Response @access public @return true when form is submitted
function: parent
params:
params:
$hmlobject_response = null
Clone Response @access public @return true when form is submitted
- htmlobject
- htmlobject_a
- htmlobject_base
- htmlobject_box
- htmlobject_button
- htmlobject_div
- htmlobject_form
- htmlobject_formbuilder
- htmlobject_iframe
- htmlobject_img
- htmlobject_input
- htmlobject_option
- htmlobject_request
- htmlobject_response
- htmlobject_select
- htmlobject_table
- htmlobject_tablebuilder
- htmlobject_tabmenu
- htmlobject_td
- htmlobject_template
- htmlobject_textarea
- htmlobject_tr