Class Horde_UI_VarRenderer

Description

The Horde_UI_VarRenderer:: class provides base functionality for other Horde UI elements.

$Horde: framework/UI/UI/VarRenderer.php,v 1.12.10.14 2009/01/06 15:23:45 jan Exp $

Copyright 2003-2009 The Horde Project (http://www.horde.org/)

See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.

Located in /UI/UI/VarRenderer.php (line 20)


	
			
Direct descendents
Class Description
 class Horde_UI_VarRenderer_html The Horde_UI_VarRenderer_html:: class renders variables to HTML.
Variable Summary
 string $_charset
 array $_params
Method Summary
 Horde_UI_VarRenderer Horde_UI_VarRenderer ([array $params = array()])
 Horde_UI_VarRenderer &factory (mixed $driver, [array $params = array()])
 void render (Horde_Form $form, Horde_Form_Variable &$var, Variables &$vars, [boolean $isInput = false])
 void renderEnd ()
Variables
string $_charset (line 34)

Charset to use for output.

array $_params (line 27)

Parameters which change this renderer's behavior.

Methods
Constructor Horde_UI_VarRenderer (line 42)

Constructs a new renderer.

Horde_UI_VarRenderer Horde_UI_VarRenderer ([array $params = array()])
  • array $params: The name of the variable which will track this UI widget's state.
factory (line 60)

Constructs a new Horde_UI_VarRenderer:: instance.

  • return: A Horde_UI_VarRenderer:: subclass instance.
Horde_UI_VarRenderer &factory (mixed $driver, [array $params = array()])
  • mixed $driver: This is the renderer subclass we will instantiate. If an array is passed, the first element is the library path and the second element is the driver name.
  • array $params: Parameters specific to the subclass.
render (line 95)

Renders a variable.

void render (Horde_Form $form, Horde_Form_Variable &$var, Variables &$vars, [boolean $isInput = false])
  • Horde_Form $form: A Horde_Form instance, or null if none is available.
  • Horde_Form_Variable &$var: Reference to a Horde_Form_Variable.
  • Variables &$vars: A Variables instance.
  • boolean $isInput: Whether this is an input field.
renderEnd (line 112)

Finishes rendering after all fields are output.

void renderEnd ()

Redefined in descendants as:

Documentation generated on Sun, 30 Jan 2011 05:23:08 +0000 by phpDocumentor 1.4.3