Class Display_PHP

Description

PHP Display

Displays the associated PHP templates for the Model.

Located in /classes/Display/PHP.php (line 23)

Object
   |
   --Display_Common
      |
      --Display_PHP
Variable Summary
string $extension
Method Summary
void render ()
integer templateExists ()
Variables
string $extension = 'phtml' (line 36)

Template Extension

I know there's some controversy amoungst my peers concerning the usage of the .phtml extension for these PHP template files. If you would prefer .php or .tpl extensions, feel free to void your warranty and change it here.

  • var: file extension for the template files
  • access: protected

Redefinition of:
Display_Common::$extension
Template Extension

Inherited Variables

Inherited from Display_Common

Display_Common::$child_template
Display_Common::$css_class
Display_Common::$js_basename
Display_Common::$meta_data
Display_Common::$module_return
Display_Common::$parent_template

Inherited from Object

Object::$config
Object::$instances
Methods
render (line 58)

Renders the PHP templated pages

  • access: public
void render ()

Redefinition of:
Display_Common::render()
Rendering Method
templateExists (line 43)

Template Exists

  • return: the number of templates defined
  • access: public
integer templateExists ()

Redefinition of:
Display_Common::templateExists()
Template Exists

Inherited Methods

Inherited From Display_Common

Display_Common::__construct()
Display_Common::render()
Display_Common::setMetaData()
Display_Common::setModuleReturn()
Display_Common::setTemplateVariables()
Display_Common::templateExists()

Inherited From Object

Object::__construct()
Object::getInstance()
Object::__destruct()

Documentation generated on Sun, 17 Oct 2010 23:17:23 -0400 by phpDocumentor 1.4.3