Class stylesheet

Description

Open a file which contains a stylesheet and read in the style settings. This is a special case of inputfile.

Located in /file-defs.php (line 299)

inputfile
   |
   --stylesheet
Method Summary
 boolean stylesheet (mixed $sspath, [string $dir = ""], string $name)
 boolean style (string $classname, [string $attrname = ""])
Variables
Methods
Constructor stylesheet (line 310)

Constructor Open the given stylesheet file for input.

  • return: True if file was opened, else false
boolean stylesheet (mixed $sspath, [string $dir = ""], string $name)
  • string $name: The name of the file
  • string $dir: The directory the file is in
style (line 382)

Return a style setting(s) for given class name in the list format: "attrib:def;attrib:def; ..." Also allow specification of a particular attribute within the class to return the style setting for.

  • return: True if file was opened, else false
boolean style (string $classname, [string $attrname = ""])
  • string $classname: The name of the class
  • string $attrname: The name of the class attribute

Inherited Methods

Inherited From inputfile

 inputfile::inputfile()
 inputfile::closefile()
 inputfile::eof()
 inputfile::readall()
 inputfile::readln()

Documentation generated by phpDocumentor 1.3.0RC3