A StyleCollection is one of the tree building pieces of CSS styles. As the name suggests it handles a collection of StyleProperties.
The other two CSS styles building pieces are
and
- StylePropertiy
. To clarify the relationship between these three building pieces, consider the following example:
div { margin: 20px; border: 1px solid #000; }
is a
- div
consisting of 2
:
- StyleProperties
and
- margin
. Each of the latter consists of one or more
- border
. In specific,
- StyleComponents
consists of one
- margin
with the value
, and
- 20px
has three
- border
with values
- StyleComponents
,
- 1px
, and
- solid
correspondingly.
- #000
Located in /harmoni/core/GUIManager/CornersStyleCollection.class.php (line 33)
StyleCollectionInterface | --StyleCollection | --CornersStyleCollection
Inherited from StyleCollection
StyleCollection::$_classSelector
StyleCollection::$_description
StyleCollection::$_displayName
StyleCollection::$_id
StyleCollection::$_postHTML
StyleCollection::$_preHTML
StyleCollection::$_selector
StyleCollection::$_SPs
The constructor.
, it will be ignored, but the collection will not be able to be applied to components.
- null
Set the url of the corner image
Returns the CSS code for this StyleCollection.
Return HTML to nested inside of the component's block. This includes things such as corner images.
See the example below:
Hello world! (this is when my component renders itself)
Return HTML to nested inside of the component's block. This includes things such as corner images.
See the example below:
Hello world! (this is when my component renders itself)
Set the url of the corner image
Inherited From StyleCollection
StyleCollection::StyleCollection()
StyleCollection::addSP()
StyleCollection::canBeApplied()
StyleCollection::getClassSelector()
StyleCollection::getComponent()
StyleCollection::getCSS()
StyleCollection::getDescription()
StyleCollection::getDisplayName()
StyleCollection::getId()
StyleCollection::getIndex()
StyleCollection::getPostHTML()
StyleCollection::getPreHTML()
StyleCollection::getSelector()
StyleCollection::getSPs()
StyleCollection::getStyleProperty()
StyleCollection::removeSP()
StyleCollection::setComponent()
StyleCollection::setId()
StyleCollection::setIndex()
Inherited From StyleCollectionInterface
StyleCollectionInterface::addSP()
StyleCollectionInterface::canBeApplied()
StyleCollectionInterface::getClassSelector()
StyleCollectionInterface::getCSS()
StyleCollectionInterface::getDescription()
StyleCollectionInterface::getDisplayName()
StyleCollectionInterface::getSelector()
StyleCollectionInterface::getSPs()
StyleCollectionInterface::removeSP()
Documentation generated on Wed, 19 Sep 2007 10:22:12 -0400 by phpDocumentor 1.3.0RC3