Class templates

Description

This class handles login functions

  • author: Abdul Al-Hasany
  • version: 2010
  • copyright: Abdul Al-hasany (c) 2010
  • access: public

Located in /includes/templates.class.php (line 39)


	
			
Variable Summary
mixed $css
mixed $footer
mixed $header
mixed $themeid
mixed $themepath
Method Summary
null templates ()
mixed gettemplate (string $templatename)
mixed include_global_template ( $matches, string $templatename)
void page_output ([integer $leftmenu = ''], [integer $rightmenu = 1])
Variables
mixed $css = '' (line 42)
mixed $footer (line 46)
mixed $header (line 45)
mixed $main_templates = array() (line 41)
mixed $themeid = "" (line 43)
mixed $themepath (line 44)
Methods
Constructor templates (line 54)

Constructor: load main settings array, default theme, main templates array,

  • return: main settings array and main templates array
null templates ()
gettemplate (line 142)

retrive the spcified template from the main templates array

  • return: Template content
mixed gettemplate (string $templatename)
  • string $templatename: Template title
include_global_template (line 164)

Proccess template inclusion whithen templates

  • return: Included template anme
mixed include_global_template ( $matches, string $templatename)
  • string $templatename: Template name
  • $matches
page_output (line 186)

This function outputs the main content of the website

void page_output ([integer $leftmenu = ''], [integer $rightmenu = 1])
  • integer $leftmenu
  • integer $rightmenu

Documentation generated on Fri, 16 Apr 2010 12:54:46 +1000 by phpDocumentor 1.4.1