This is a simple implementation of a Block component. Block components are very simple, and in reality do not differ much from the generic component.
Blocks are capable of storing an arbitrary content (string) and naturally have their type set to
. Unlike the generic component, the content of Blocks is required.
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/Components/UnstyledBlock.class.php (line 23)
ComponentInterface | --Component | --UnstyledBlock
Inherited from Component
Component::$_content
Component::$_id
Component::$_index
Component::$_postHTML
Component::$_preHTML
Component::$_styleCollections
Component::$_type
The constructor.
would do.
- addStyle()
method. The parameter is required.
- render()
and
- getStylesForComponentType()
methods.
- addStyleForComponentType()
Inherited From Component
Component::Component()
Component::addStyle()
Component::getId()
Component::getIndex()
Component::getPostHTML()
Component::getPreHTML()
Component::getStyle()
Component::getStyles()
Component::getType()
Component::removeStyle()
Component::render()
Component::setId()
Component::setPostHTML()
Component::setPreHTML()
Inherited From ComponentInterface
ComponentInterface::addStyle()
ComponentInterface::getIndex()
ComponentInterface::getPostHTML()
ComponentInterface::getPreHTML()
ComponentInterface::getStyle()
ComponentInterface::getStyles()
ComponentInterface::getType()
ComponentInterface::removeStyle()
ComponentInterface::render()
ComponentInterface::setPostHTML()
ComponentInterface::setPreHTML()
Documentation generated on Wed, 19 Sep 2007 10:27:35 -0400 by phpDocumentor 1.3.0RC3