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

Class: ImageBlockDummyGalleryTemplate

Source Location: /modules/imageblock/test/phpunit/ImageBlockTest.class

Class ImageBlockDummyGalleryTemplate

Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From UnitTestTemplate

UnitTestTemplate::$_data

Inherited From GalleryTemplate

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

Inherited From UnitTestTemplate

UnitTestTemplate::UnitTestTemplate()
UnitTestTemplate::display()
Not implemented. Use a real GalleryTemplate to test compiled templates.
UnitTestTemplate::fetch()
Not implemented. Use a real GalleryTemplate to test compiled templates.
UnitTestTemplate::getVariable()
UnitTestTemplate::getVariableByReference()
UnitTestTemplate::hasVariable()
UnitTestTemplate::setVariable()
UnitTestTemplate::setVariableByReference()

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 ]
Property Summary
mixed   $_path  

[ Top ]
Method Summary
void   display()  
void   getPath()  
void   head()  
void   register_block()  
void   register_function()  
void   &_getSmarty()  

[ Top ]
Methods
display  [line 1055]

  void display( $path  )

Parameters:
   $path: 


Redefinition of:
UnitTestTemplate::display()
Not implemented. Use a real GalleryTemplate to test compiled templates.

[ Top ]
getPath  [line 1058]

  void getPath( )



[ Top ]
head  [line 1063]

  void head( )



Redefinition of:
GalleryTemplate::head()
Add a template to include in the <head> section

[ Top ]
register_block  [line 1061]

  void register_block( )



[ Top ]
register_function  [line 1062]

  void register_function( )



[ Top ]
_getSmarty  [line 1052]

  void &_getSmarty( $trimWhitespace  )

Parameters:
   $trimWhitespace: 


Redefinition of:
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.

[ Top ]

Documentation generated on Wed, 16 Dec 2009 04:57:01 -0800 by phpDocumentor 1.3.0RC6