![]() |
![]() |
Public Member Functions | |
| renderValue ($type, $value, $attributes) | |
| configure_image (&$view) | |
| configure_text (&$view) | |
Data Fields | |
| $view = null | |
wCMF - wemove Content Management Framework Copyright (C) 2005-2009 wemove digital solutions GmbH
Licensed under the terms of any of the following licenses at your choice:
See the license.txt file distributed with this work for additional information.
New controls may be defined by defining the template, putting it into the configuration section 'htmlform' and maybe implementing a configure method in a subclass of DefaultControlRenderer. If a subclass is needed, the key 'ControlRenderer' in the configuration section 'implementation' must point to it (don't forget to give the class definition in the 'classmapping' section).
Definition at line 41 of file class.DefaultValueRenderer.php.
| renderValue | ( | $ | type, | |
| $ | value, | |||
| $ | attributes | |||
| ) |
Render a value of given type using the appropriate smarty template (defined in the config section 'htmldisplay'). The given parameters will be passed to the view. If additional parameters are needed an configure method must be implemented (name: configure_type)
| type | The display type of the value (the template is selected based on the type) | |
| value | The value to display | |
| attributes | An attribute string to be placed in the html tag (defining its appearance) |
Definition at line 54 of file class.DefaultValueRenderer.php.
References $view, InifileParser::getInstance(), and WCMFException::throwEx().

| configure_image | ( | &$ | view | ) |
Set additional parameters to the image html representation
| view | A reference to the html view |
Definition at line 99 of file class.DefaultValueRenderer.php.
References $view.
| configure_text | ( | &$ | view | ) |
Set additional parameters to the text html representation
| view | A reference to the html view |
Definition at line 117 of file class.DefaultValueRenderer.php.
| $view = null |
Definition at line 43 of file class.DefaultValueRenderer.php.
Referenced by configure_image(), and renderValue().
|
This page generated via doxygen 1.5.8 Mon Mar 30 01:58:43 2009. Copyright © 2009 wemove digital solutions GmbH. |
|