Zikula_Core
[ class tree: Zikula_Core ] [ index: Zikula_Core ] [ all elements ]

Class: Theme

Source Location: /includes/pnTheme.class.php

Class Overview

Smarty
   |
   --pnRender
      |
      --Theme

pnTheme


Variables

Methods


Inherited Variables

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: Smarty

Smarty::Smarty()
The class constructor.
Smarty::append()
appends values to template variables
Smarty::append_by_ref()
appends values to template variables by reference
Smarty::assign()
assigns values to template variables
Smarty::assign_by_ref()
assigns values to template variables by reference
Smarty::clear_all_assign()
clear all the assigned template variables.
Smarty::clear_all_cache()
clear the entire contents of cache (all templates)
Smarty::clear_assign()
clear the given assigned template variable.
Smarty::clear_cache()
clear cached content for the given template and cache id
Smarty::clear_compiled_tpl()
clears compiled version of specified template resource, or all compiled template files if one is not specified.
Smarty::clear_config()
clear configuration values
Smarty::config_load()
load configuration values
Smarty::display()
executes & displays the template results
Smarty::fetch()
executes & returns or displays the template results
Smarty::get_config_vars()
Returns an array containing config variables
Smarty::get_registered_object()
return a reference to a registered object
Smarty::get_template_vars()
Returns an array containing template variables
Smarty::is_cached()
test to see if valid cache exists for this template
Smarty::load_filter()
load a filter of specified type and name
Smarty::register_block()
Registers block function to be used in templates
Smarty::register_compiler_function()
Registers compiler function
Smarty::register_function()
Registers custom function to be used in templates
Smarty::register_modifier()
Registers modifier to be used in templates
Smarty::register_object()
Registers object to be used in templates
Smarty::register_outputfilter()
Registers an output filter function to apply to a template output
Smarty::register_postfilter()
Registers a postfilter function to apply to a compiled template after compilation
Smarty::register_prefilter()
Registers a prefilter function to apply to a template before compiling
Smarty::register_resource()
Registers a resource to fetch a template
Smarty::template_exists()
Checks whether requested template exists.
Smarty::trigger_error()
trigger Smarty error
Smarty::unregister_block()
Unregisters block function
Smarty::unregister_compiler_function()
Unregisters compiler function
Smarty::unregister_function()
Unregisters custom function
Smarty::unregister_modifier()
Unregisters modifier
Smarty::unregister_object()
Unregisters object
Smarty::unregister_outputfilter()
Unregisters an outputfilter function
Smarty::unregister_postfilter()
Unregisters a postfilter function
Smarty::unregister_prefilter()
Unregisters a prefilter function
Smarty::unregister_resource()
Unregisters a resource
Smarty::_compile_resource()
compile the template
Smarty::_compile_source()
compile the given source
Smarty::_dequote()
Remove starting and ending quotes from the string
Smarty::_eval()
wrapper for eval() retaining $this
Smarty::_fetch_resource_info()
fetch the template info. Gets timestamp, and source if get_source is true
Smarty::_get_auto_filename()
get a concrete filename for automagically created content
Smarty::_get_auto_id()
returns an auto_id for auto-file-functions
Smarty::_get_compile_path()
Get the compile path for this resource
Smarty::_get_filter_name()
Extracts the filter name from the given callback
Smarty::_get_plugin_filepath()
get filepath of requested plugin
Smarty::_include()
wrapper for include() retaining $this
Smarty::_is_compiled()
test if resource needs compiling
Smarty::_parse_resource_name()
parse out the type and name from the resource
Smarty::_process_compiled_include_callback()
callback function for preg_replace, to call a non-cacheable block
Smarty::_read_file()
read in a file
Smarty::_run_mod_handler()
Handle modifiers
Smarty::_smarty_cache_attrs()
get or set an array of cached attributes for function that is
Smarty::_smarty_include()
called for included templates
Smarty::_trigger_fatal_error()
trigger Smarty plugin error
Smarty::_unlink()
unlink a file, possibly using expiration time

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 ]


Documentation generated on Fri, 18 Jul 2008 21:54:34 +0200 by phpDocumentor 1.4.1