phpDocumentor layout
[ class tree: layout ] [ index: layout ] [ all elements ]

Class: CssLayout

Source Location: /myphp-1.9/myphp-1.9-layout/html/page/CssLayout.php

Class CssLayout

Class Overview

Generates the Layout CSS

  1. Usage:
  2. $css = new CssLayout($href);
  3. print $css->getHtml();
  4. Or:
  5. CssLayout::display($href);

Located in /myphp-1.9/myphp-1.9-layout/html/page/CssLayout.php [line 29]

Object
   |
   --Html
      |
      --Css
         |
         --CssLayout

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From Css

Css::$href

Inherited From Html

Html::$elements
Html::$sizeof

Inherited From Object

Object::$cachefile
Object::$html
Object::$sql

Inherited From Css

Css::Css()
Constructor
Css::display()
Display html
Css::getBorder()
Returns the css class details for a Border in a component
Css::getBorderLine()
Returns the css class details for a single Border side in a component
Css::getBorderSingle()
Returns the css class details for a single Border line in a component
Css::getButton()
Returns the css class details for a Border in a component
Css::getClass()
Returns the css class details for the specified class name
Css::getComponent()
Returns the css class details for a link and image in a component
Css::getCss()
Returns the css for a css style
Css::getCustom()
Returns the css Base components
Css::getEnd()
Returns the css end
Css::getExternal()
Returns the html for the external css files
Css::getFieldset()
Returns the css for the fieldset tag
Css::getHeader()
Returns the css header
Css::getHidden()
Returns the css class details for the hidden content
Css::getHr()
Returns the css class details for the hr html tag
Css::getHtml()
Returns the html for the css file
Css::getImage()
Returns the css class details for a background image
Css::getInline()
Returns the html for the Inline css files
Css::getLegend()
Returns the css for the legend tag
Css::getLi()
Returns the css class details for the list <li> html tag
Css::getLink()
Returns the css class details for an active, visited link
Css::getLinkHover()
Returns the css class details for a hover link
Css::getLinkImage()
Returns the css class details for an image inside a link
Css::getLinkNormal()
Returns the css class details for an active, visited link
Css::getSingle()
Returns the css class details for the single html tag
Css::getStart()
Returns the css for the start of a tag
Css::getTab()
Returns the css class details for a Tab in a component
Css::getTabActive()
Returns the css class details for an active Tab in a component
Css::getTabBody()
Returns the css class details for a Tab Body in a component
Css::getTag()
Returns the css details for the specified html tag(s)
Css::getWidth()
Returns the css class for the html tag

Inherited From Html

Html::Html()
Constructor
Html::add()
Add an element, the number of elements are stored internally in an array.
Html::content()
Read the content of the specified filename
Html::display()
Display the html
Html::get()
Get the complete html for a key
Html::getAttribute()
Get the complete html for an attribute, i.e. <a class="myclass" ...
Html::getElement()
Get the element at position $i in array
Html::getElements()
Get all the elements as html
Html::getHtml()
Get Html
Html::getHtmlHelp()
Get html help
Html::getSizeof()
Get the number of elements added
Html::getTag()
Get the complete html for a html tag, i.e. <p>My paragraph</p>
Html::read()
Read the content of the specified filename and language
Html::set()
Set the named attribute (key) of a class to specified value
Html::setObject()
Set the named object to the class attribute (key), with same name
Html::showsource()
Show source
Html::update()
Save the content of the specified filename and language

Inherited From Object

Object::Object()
Constructor
Object::addHtml()
Add the current html to the SourceCode object
Object::getCacheFileName()
Returns the name of the cache file name
Object::getClassName()
Returns the name of the instanciated class
Object::getHtml()
Returns the html for the element
Object::getMsg()
Get the formatted message and debug level and Log to file ?
Object::save()
Save the SQL cache file
Object::setCacheFileName()
Set the path/name of the cache file
Object::toString()
Returns the information for this class
Object::write()
Write the content to the file opened by fp

[ Top ]
Method Summary
CssLayout   CssLayout()   Constructor
void   display()   Display html
String   getCustom()   Returns the css Table components

[ Top ]
Methods
Constructor CssLayout  [line 34]

  CssLayout CssLayout( [String $href = '']  )

Constructor

Parameters:
String   $href:  The url to the css filename (i.e. /css/my.css)


[ Top ]
display  [line 86]

  void display( [mixed $href = ''], String $href,  )

Display html

  1. Usage:
  2. CssLayout::display($href);

Parameters:
String   $href,:  The url to the css file (i.e. /css/my.css)

API Tags:
Static:  


Redefinition of:
Css::display()
Display html

[ Top ]
getCustom  [line 42]

  String getCustom( )

Returns the css Table components


API Tags:
Return:  the complete css


Redefinition of:
Css::getCustom()
Returns the css Base components

[ Top ]

Documentation generated on Thu, 22 Dec 2005 17:04:47 +0100 by phpDocumentor 1.3.0RC3