Class: HTML_QuickForm2_Renderer
Source Location: /HTML_QuickForm2-2.0.0beta2/HTML/QuickForm2/Renderer.php
Abstract base class for QuickForm2 renderers
Author(s):
Version:
|
|
|
Child classes:
|
Inherited Variables
|
Inherited Methods
|
Class Details
Class Variables
Method Detail
__construct (Constructor) [line 204]
exportMethods [line 216]
factory [line 137]
Creates a new renderer instance of the given type A renderer is always wrapped by a Proxy, which handles calling its "published" methods and methods of its plugins. Registered plugins are added automagically to the existing renderer instances so that
// Plugin implementing bar() method
$foo->bar();
will work.
Parameters:
finishContainer [line 379]
finishForm [line 365]
finishGroup [line 393]
getJavascriptBuilder [line 304]
getOption [line 287]
methodExists [line 228]
register [line 162]
void register(
string
$type, string
$className, [string
$includeFile = null])
|
|
Registers a new renderer type
Parameters:
registerPlugin [line 180]
void registerPlugin(
string
$type, string
$className, [string
$includeFile = null])
|
|
Registers a plugin for a renderer type
Parameters:
renderElement [line 344]
renderHidden [line 351]
reset [line 337]
setJavascriptBuilder [line 323]
setOption [line 259]
Sets the option(s) affecting renderer behaviour The following options are available: - 'group_hiddens' - whether to group hidden elements together or
render them where they were added (boolean)
- 'group_errors' - whether to group error messages or render them
alongside elements they apply to (boolean)
- 'errors_prefix' - leading message for grouped errors (string)
- 'errors_suffix' - trailing message for grouped errors (string)
- 'required_note' - note displayed if the form contains required
elements (string)
Overridden in child classes as:
- HTML_QuickForm2_Renderer_Proxy::setOption()
- Proxies for methods defined in HTML_QuickForm2_Renderer
Parameters:
startContainer [line 372]
startForm [line 358]
startGroup [line 386]
Documentation generated on Mon, 11 Mar 2019 15:48:32 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright Š PHP Group 2004.
|
|