phpDocumentor GalleryCore
PHPUnit
[ class tree: GalleryCore ] [ index: GalleryCore ] [ all elements ]

Class: MainTest_FakeTemplate

Source Location: /modules/core/test/phpunit/MainTest.class

Class MainTest_FakeTemplate

Class Overview

Fake GalleryTemplate that doesn't actually fetch the data.

Located in /modules/core/test/phpunit/MainTest.class [line 639]

GalleryTemplate
   |
   --MainTest_FakeTemplate

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From GalleryTemplate

GalleryTemplate::$_compiledTemplateDir
GalleryTemplate::$_smarty
GalleryTemplate::$_templateDir

Inherited From GalleryTemplate

GalleryTemplate::GalleryTemplate()
GalleryTemplate::display()
Display the properly localized template
GalleryTemplate::fetch()
Render the properly localized template
GalleryTemplate::getVariable()
Retrieve a template value
GalleryTemplate::getVariableByReference()
Retrieve a reference to a template value
GalleryTemplate::hasVariable()
Return true if the given variable is set
GalleryTemplate::head()
Add a template to include in the <head> section
GalleryTemplate::javascript()
Add a JavaScript to include in the <head> section
GalleryTemplate::link()
Add a <link> element in the <head> section
GalleryTemplate::meta()
Add a meta element to the <head> section
GalleryTemplate::preFilter()
Remove leading whitespace when compiling tpl to produce smaller html page sizes.
GalleryTemplate::resourceGetSecure()
GalleryTemplate::resourceGetTemplate()
GalleryTemplate::resourceGetTemplateBaseDir()
Returns the base directory of the specified template. This is required to support loading templates from g2data/plugins.
GalleryTemplate::resourceGetTimestamp()
GalleryTemplate::resourceGetTrusted()
GalleryTemplate::setVariable()
Assign a template key/value pair
GalleryTemplate::setVariableByReference()
Assign a template key/value pair
GalleryTemplate::shouldDoCompileCheck()
Check whether modification checks should be done to see if the compiled templates are still up to date. The result is cached in memory.
GalleryTemplate::style()
Add a stylesheet to include in the <head> section
GalleryTemplate::title()
Set the title to include in the <head> section
GalleryTemplate::_getActualTemplatePath()
Given a template name (foo/bar/path/file.tpl), return the active template path based on the
GalleryTemplate::_getSmarty()
Return a properly configured instance of Smarty. This used to be a single shared static instance of Smarty, but now we build it every time we need it. Theoretically we shouldn't be creating more than one GalleryTemplate and hence, more than one Smarty instance per request. However, having it as a static object makes it less testable.
GalleryTemplate::_getThemeId()
Return the themeid for the current item.
GalleryTemplate::_initCompiledTemplateDir()
Initializes the directory where compiled templates will be saved for this specific template directory

[ Top ]
Method Summary
MainTest_FakeTemplate   MainTest_FakeTemplate()  
void   fetch()  

[ Top ]
Methods
Constructor MainTest_FakeTemplate  [line 640]

  MainTest_FakeTemplate MainTest_FakeTemplate( )



[ Top ]
fetch  [line 644]

  void fetch( )



Redefinition of:
GalleryTemplate::fetch()
Render the properly localized template

[ Top ]

Documentation generated on Fri, 08 Oct 2010 05:32:29 -0700 by phpDocumentor 1.3.0RC6