This class is a widget for constructing and rendering css. It exports API's for adding classes, ids and their attributes.
It can render as either a stand alone foo.css type of file, with the appropriate httpd header, or as part of a <style> tag's content that lives as part of an html document.
This class lets you create classes in the format
name extends_list { property: value; }
ie. #foo div, span { font-family: arial, helvetica; font-size: 10pt; }
Located in /widgets/CSSBuilder.inc (line 41)
Class | Description |
---|---|
TabControlCSS | CSS for the tab control |
BBCodeCSS | This class defines the css used by the bbCode Object. |
ActiveTabCSS | The CSSBuilder object for the ActiveTab widget |
DefaultGUIDataListCSS | This class defines the css used by the FooterNav Object. |
TextNavCSS | This class defines the css used by the TextNav Object. |
TextCSSNavCSS | This class defines the css used by the FooterNav Object. |
ProgressBoxWidgetCSS | This class defines the css used by the FooterNav Object. |
ProgressWidgetCSS | This class defines the css used by the FooterNav Object. |
ImageThumbnailWidgetCSS | This class defines the css used by the FooterNav Object. |
ButtonPanelCSS | This class defines the css used by the FooterNav Object. |
NavTableCSS | This class defines the css used by the FooterNav Object. |
TabListCSS | This class defines the css used by the FooterNav Object. |
RoundTitleTableCSS | This class defines the css used by the RoundTitleTable Object. |
ErrorBoxWidgetCSS | This class defines the css used by the TextNav Object. |
InfoTableCSS | This class defines the css used by the FooterNav Object. |
FooterNavCSS | This class defines the css used by the FooterNav Object. |
VerticalCSSNavTableCSS | This class defines the css used by the VerticalCSSNavTable Object. |
CalendarTableCSS | This class defines the css used by the CalendarTable Object. |
The CSSBuilder constructor
This function adds a new class entry
The render method for compatibility with the rest of the phphtmllib api
This is used to set/update the header flag.
This function is a macro for walking the entire
list of classes, looking for particular property in each class. It then tries to match the current value of that property and then replaces the value with the new value.
NOTE: this is a way of templating themes. you create the original css w/ a value of something like _DARK_COLOR_ and use this function to replace all occurrences with #dbdbdb
This function updates a css property value for a specific class/id
This function updates a css property value for a specific class/id
Call the child class' setup function
to build the actual css classes and their attributes
This function is used to construct the css name declaration string.
ie #foo div,span {
This function is used to construct the property: value strings for the class
This function does the main work for update_all_values
Documentation generated on Fri, 28 Jan 2011 08:52:50 -0500 by phpDocumentor 1.4.3