Class styles

Description

Styles class to perform the majority of skinning and template functions in ILance

  • author: ILance
  • version: $Revision: 1.0.0 $

Located in /api/class.styles.inc.php (line 23)


	
			
Variable Summary
Method Summary
styles styles ()
void browser_detection ( $which_test)
void browser_version ( $browser_user_agent,  $search_string)
void fetch_css_color_value ( $csscolor)
void fetch_css_element ([ $element = ''], [ $property = ''], [ $csstype = ''])
void handle_css_font ( $font)
void handle_css_link ( $item,  $what,  $array)
void handle_css_style_replacements ([ $templatecss = array()], [ $templatevars = array()])
void handle_replacements ([ $text = ''], [ $templatevars = array()])
void is_styleid_valid ([ $styleid = 0])
void print_css_elements_pulldown ([ $name = ''])
void print_styles_pulldown ([ $selected = ''], [ $autosubmit = ''])
Variables
mixed $computed_style = null (line 28)

This will store the compiled css stylesheet

mixed $css_cache = null (line 33)

CSS cache so we don't have to continously call the db in other scripts

Methods
Constructor styles (line 41)
styles styles ()
browser_detection (line 728)
void browser_detection ( $which_test)
  • $which_test
browser_version (line 703)
void browser_version ( $browser_user_agent,  $search_string)
  • $browser_user_agent
  • $search_string
fetch_css_color_value (line 522)
void fetch_css_color_value ( $csscolor)
  • $csscolor
fetch_css_element (line 859)
void fetch_css_element ([ $element = ''], [ $property = ''], [ $csstype = ''])
  • $element
  • $property
  • $csstype
fetch_default_style_title (line 831)
void fetch_default_style_title ()
handle_css_font (line 541)
void handle_css_font ( $font)
  • $font
handle_css_link (line 619)
void handle_css_link ( $item,  $what,  $array)
  • $item
  • $what
  • $array
handle_css_style_replacements (line 354)
void handle_css_style_replacements ([ $templatecss = array()], [ $templatevars = array()])
  • $templatecss
  • $templatevars
handle_replacements (line 489)
void handle_replacements ([ $text = ''], [ $templatevars = array()])
  • $text
  • $templatevars
is_styleid_valid (line 680)
void is_styleid_valid ([ $styleid = 0])
  • $styleid
print_css_elements_pulldown (line 974)
void print_css_elements_pulldown ([ $name = ''])
  • $name
print_styles_pulldown (line 778)
void print_styles_pulldown ([ $selected = ''], [ $autosubmit = ''])
  • $selected
  • $autosubmit

Documentation generated on Mon, 08 Aug 2011 17:40:56 +0200 by phpDocumentor 1.4.1