are the basic units that can be displayed on the screen. The main method
- Components
which renders the component on the screen.
- render()
Located in /harmoni/core/GUIManager/Component.interface.php (line 139)
Class | Description |
---|---|
Component | This is a generic implementation of the Component interface that allows the user to output an arbitrary string (content). |
MenuItemInterface |
is an extension of ; have display names and the ability to be added to objects. |
ContainerInterface |
The interface is an extension of the interface; are capable of storing multiple sub- and when rendering Containers, all sub- will be rendered as well. |
Adds a new
to this component. The component
can have 0 or more style collections attached; each of the latter will affect the appearance of the component. The uniqueness of the collections is enforce by their selector (i.e., you can't have two collections with the same selector). If a style collection has been registered with the Theme for this Component's type and level, then the new style collection
to add to this component.
to this component. The component
Returns the index of this component. The index has no semantic meaning:
you can think of the index as 'level' of the component. Alternatively, the index could serve as means of distinguishing between components with the same type. Most often one would use the index in conjunction with the
and
- getStylesForComponentType()
Theme methods.
- addStyleForComponentType()
Returns any post HTML code that needs to be printed. This method should be called at the end of
.
- render()
.
- render()
Returns any pre HTML code that needs to be printed. This method should be called at the beginnig of
.
- render()
.
- render()
Returns the style collection with the specified selector.
Returns all style collections for this component.
Returns the type of this component. One of BLANK, HEADING, FOOTER, BLOCK, MENU, MENU_ITEM_LINK_UNSELECTED, MENU_ITEM_LINK_SELECTED, MENU_ITEM_HEADING, OTHER.
Remove the given StyleCollection from this Component.
Renders the component on the screen.
Set post HTML code that needs to surround this compontent. This is used to properly nest form-tags around tables/divs to generate valid XHTML.
Set pre HTML code that needs to surround this compontent. This is used to properly nest form-tags around tables/divs to generate valid XHTML.
Documentation generated on Wed, 19 Sep 2007 10:22:07 -0400 by phpDocumentor 1.3.0RC3