Class: HTML_QuickForm2_Renderer
Source Location: /HTML_QuickForm2-2.1.0/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 180]
exportMethods [line 192]
factory [line 113]
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 355]
finishForm [line 341]
finishGroup [line 369]
getJavascriptBuilder [line 280]
getOption [line 263]
methodExists [line 204]
register [line 138]
void register(
string
$type, string
$className, [string
$includeFile = null])
|
|
Registers a new renderer type
Parameters:
registerPlugin [line 156]
void registerPlugin(
string
$type, string
$className, [string
$includeFile = null])
|
|
Registers a plugin for a renderer type
Parameters:
renderElement [line 320]
renderHidden [line 327]
reset [line 313]
setJavascriptBuilder [line 299]
setOption [line 235]
$this setOption(
string|array
$nameOrOptions, [mixed
$value = null])
|
|
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 348]
startForm [line 334]
startGroup [line 362]
Documentation generated on Wed, 10 Apr 2019 08:56:10 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|
|