| [ Index ] |
PHP Cross Reference of Limb3 |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 157 lines (4 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
WactRuntimeComponent:: (13 methods):
__construct()
getId()
findChild()
getChild()
getRootComponent()
getDatasource()
getDatasourceComponent()
setChildDataSource()
setChildDataSet()
findChildByClass()
findParentByClass()
addChild()
render()
Class: WactRuntimeComponent - X-Ref
Base class for runtime components.<br />| __construct($id) X-Ref |
| No description |
| getId() X-Ref |
| No description |
| findChild($ServerId) X-Ref |
| Returns a child component given it's ID.<br /> Note this is a potentially expensive operation if dealing with many components, as it calls the findChild method of children based on alphanumeric order: strcasecmp(). Attempt to call it via the nearest known component to the required child. |
| getChild($ServerId) X-Ref |
| Same as findChild, except raises error if child is not found |
| getRootComponent($item) X-Ref |
| No description |
| getDatasource() X-Ref |
| No description |
| getDatasourceComponent() X-Ref |
| No description |
| setChildDataSource($path, $datasource) X-Ref |
| Set the data source of a child component, or raise an error if the child is not found. |
| setChildDataSet($path, $datasource) X-Ref |
| No description |
| findChildByClass($class) X-Ref |
| Returns the first child component matching the supplied class name |
| findParentByClass($class) X-Ref |
| Recursively searches through parents of this component searching for a given class name |
| addChild($child) X-Ref |
| Adds a reference to a child component to this component, using it's ID attribute as the child array key |
| render() X-Ref |
| Outputs the component, rendering any child components as well This method will only ever be called on components that support Dynamic rendering. |
| Generated: Mon Dec 1 03:56:46 2008 | Cross-referenced by PHPXref 0.7 |