Zikula: A Flexible Open Source Content Management System
home | forum | international support | contact us

Docs For Class Theme

Class: Theme

Source Location: /pnTheme.class.php

Class Overview

Smarty
   |
   --pnRender
      |
      --Theme

pnTheme

Variables

Methods


Inherited Variables

Class: pnRender

pnRender::$baseuri
pnRender::$baseurl
pnRender::$cache_id
pnRender::$expose_template
pnRender::$language
pnRender::$modinfo
pnRender::$module
pnRender::$theme
pnRender::$themeinfo
pnRender::$toplevelmodule
pnRender::$userdb

Inherited Methods

Class: pnRender

pnRender::pnRender()
The class constructor.
pnRender::add_core_data()
add core data to the template
pnRender::clear_all_cache()
clear the entire contents of cache (all templates)
pnRender::clear_cache()
clears the cache for a specific template
pnRender::display()
executes & displays the template results
pnRender::fetch()
executes & returns the template results
pnRender::getInstance()
setup the current instance of the pnRender class and return it back to the module
pnRender::get_template_path()
Checks which path to use for required template
pnRender::is_cached()
finds out if a template is already cached
pnRender::template_exists()
Checks whether requested template exists.

Class Details

[line 21] pnTheme



[ Top ]

Class Variables

$admin =

[line 35]



Type:   mixed
[ Top ]

$author =

[line 33]



Type:   mixed
[ Top ]

$changelog =

[line 40]



Type:   mixed
[ Top ]

$componentid =

[line 53]



Type:   mixed
[ Top ]

$contact =

[line 34]



Type:   mixed
[ Top ]

$credits =

[line 39]



Type:   mixed
[ Top ]

$description =

[line 27]



Type:   mixed
[ Top ]

$directory =

[line 30]



Type:   mixed
[ Top ]

$displayname =

[line 26]



Type:   mixed
[ Top ]

$help =

[line 41]



Type:   mixed
[ Top ]

$id =

[line 24]



Type:   mixed
[ Top ]

$imagelangpath =

[line 48]



Type:   mixed
[ Top ]

$imagepath =

[line 47]



Type:   mixed
[ Top ]

$isloggedin =

[line 59]



Type:   mixed
[ Top ]

$license =

[line 42]



Type:   mixed
[ Top ]

$name =

[line 25]



Type:   mixed
[ Top ]

$official =

[line 32]



Type:   mixed
[ Top ]

$pageid =

[line 54]



Type:   mixed
[ Top ]

$pagetype =

[line 55]



Type:   mixed
[ Top ]

$permlevel =

[line 58]



Type:   mixed
[ Top ]

$qstring =

[line 56]



Type:   mixed
[ Top ]

$regid =

[line 28]



Type:   mixed
[ Top ]

$requesturi =

[line 57]



Type:   mixed
[ Top ]

$scriptpath =

[line 50]



Type:   mixed
[ Top ]

$state =

[line 38]



Type:   mixed
[ Top ]

$stylepath =

[line 49]



Type:   mixed
[ Top ]

$system =

[line 37]



Type:   mixed
[ Top ]

$themepath =

[line 46]



Type:   mixed
[ Top ]

$type =

[line 29]



Type:   mixed
[ Top ]

$user =

[line 36]



Type:   mixed
[ Top ]

$version =

[line 31]



Type:   mixed
[ Top ]

$xhtml =

[line 43]



Type:   mixed
[ Top ]

Class Methods


constructor Theme [line 65]

none Theme( $theme, [ $usefilters = true])

Initialize our class





Parameters:

   $theme  
   $usefilters  

[ Top ]

method get_template_path [line 264]

void get_template_path( string $template)

Checks which path to use for required template





Overrides pnRender::get_template_path() (Checks which path to use for required template)

Parameters:

string   $template  

[ Top ]

method themesidebox [line 177]

void themesidebox( postion $block)

display a block





Parameters:

postion   $block  

[ Top ]

method themetable [line 236]

void themetable( [ $open = true], [ $tablenum = 1], string $template)

render the legacy open/close table functions



Tags:

deprecated:  


Parameters:

string   $template  
   $open  
   $tablenum  

[ Top ]

Packages:

Files:

Classes: