Class TemplatesViewTemplate

Description

View to edit a template style.

  • since: 1.6

Located in /administrator/components/com_templates/views/template/view.html.php (line 19)

JObject
   |
   --JViewLegacy
      |
      --TemplatesViewTemplate
Variable Summary
 mixed $archive
 mixed $file
 mixed $fileName
 mixed $files
 mixed $font
 mixed $form
 mixed $hathor
 mixed $id
 mixed $image
 mixed $preview
 mixed $source
 mixed $state
 mixed $template
 mixed $type
Method Summary
 void addToolbar ()
 string directoryTree (array $array)
 mixed display ([string $tpl = null])
 string folderTree (array $array)
Variables
mixed $archive (line 94)

An array containing a list of compressed files

  • access: protected
mixed $file (line 49)

Encrypted file path

  • access: protected
mixed $fileName (line 59)

Name of the present file

  • access: protected
mixed $files (line 89)

A nested array containing lst of files and folders

  • access: protected
mixed $font (line 79)

For loading font information

  • access: protected
mixed $form (line 34)

For loading the source form

  • access: protected
mixed $hathor (line 84)

For checking if the template is hathor

  • access: protected
mixed $id (line 44)

Extension id

  • access: protected
mixed $image (line 69)

For loading image information

  • access: protected
mixed $overridesList (line 54)

List of available overrides

  • access: protected
mixed $preview (line 74)

Template id for showing preview button

  • access: protected
mixed $source (line 39)

For loading source file contents

  • access: protected
mixed $state (line 24)

For loading extension state

  • access: protected
mixed $template (line 29)

For loading template details

  • access: protected
mixed $type (line 64)

Type of the file - image, source, font

  • access: protected

Inherited Variables

Inherited from JViewLegacy

JViewLegacy::$_basePath
JViewLegacy::$_charset
JViewLegacy::$_defaultModel
JViewLegacy::$_escape
JViewLegacy::$_layout
JViewLegacy::$_layoutExt
JViewLegacy::$_layoutTemplate
JViewLegacy::$_models
JViewLegacy::$_name
JViewLegacy::$_output
JViewLegacy::$_path
JViewLegacy::$_template

Inherited from JObject

JObject::$_errors
Methods
addToolbar (line 172)

Add the page title and toolbar.

  • since: 1.6
  • access: protected
void addToolbar ()
directoryTree (line 295)

Method for creating the collapsible tree.

  • since: 3.2
  • access: protected
string directoryTree (array $array)
  • array $array: The value of the present node for recursion
display (line 103)

Execute and display a template script.

  • return: A string if successful, otherwise a Error object.
  • access: public
mixed display ([string $tpl = null])
  • string $tpl: The name of the template file to parse; automatically searches through the template paths.

Redefinition of:
JViewLegacy::display()
Execute and display a template script.
folderTree (line 315)

Method for listing the folder tree in modals.

  • since: 3.2
  • access: protected
string folderTree (array $array)
  • array $array: The value of the present node for recursion

Inherited Methods

Inherited From JViewLegacy

 JViewLegacy::__construct()
 JViewLegacy::addHelperPath()
 JViewLegacy::addTemplatePath()
 JViewLegacy::assign()
 JViewLegacy::assignRef()
 JViewLegacy::display()
 JViewLegacy::escape()
 JViewLegacy::get()
 JViewLegacy::getForm()
 JViewLegacy::getLayout()
 JViewLegacy::getLayoutTemplate()
 JViewLegacy::getModel()
 JViewLegacy::getName()
 JViewLegacy::loadHelper()
 JViewLegacy::loadTemplate()
 JViewLegacy::setEscape()
 JViewLegacy::setLayout()
 JViewLegacy::setLayoutExt()
 JViewLegacy::setModel()
 JViewLegacy::_addPath()
 JViewLegacy::_createFileName()
 JViewLegacy::_setPath()

Inherited From JObject

 JObject::__construct()
 JObject::def()
 JObject::get()
 JObject::getError()
 JObject::getErrors()
 JObject::getProperties()
 JObject::set()
 JObject::setError()
 JObject::setProperties()
 JObject::__toString()

Documentation generated on Tue, 19 Nov 2013 15:17:26 +0100 by phpDocumentor 1.4.3