Class TemplatesHelper

Description

Templates component helper.

  • since: 1.6

Located in /administrator/components/com_templates/helpers/templates.php (line 19)


	
			
Method Summary
 static void addSubmenu (string $vName)
 static JObject getActions ()
 static array getClientOptions ()
 static boolean|array getPositions (integer $clientId, string $templateDir)
 static array getTemplateOptions ([mixed $clientId = '*'])
 static boolean|JObject parseXMLTemplateFile (string $templateBaseDir, string $templateDir)
Methods
static addSubmenu (line 28)

Configure the Linkbar.

  • access: public
static void addSubmenu (string $vName)
  • string $vName: The name of the active view.
static getActions (line 47)

Gets a list of the actions that can be performed.

  • access: public
static JObject getActions ()
static getClientOptions (line 67)

Get a list of filter options for the application clients.

  • return: An array of JHtmlOption elements.
  • access: public
static array getClientOptions ()
static getPositions (line 150)

TODO

  • since: 3.0
  • access: public
static boolean|array getPositions (integer $clientId, string $templateDir)
  • integer $clientId: TODO
  • string $templateDir: TODO
static getTemplateOptions (line 84)

Get a list of filter options for the templates with styles.

  • return: An array of JHtmlOption elements.
  • access: public
static array getTemplateOptions ([mixed $clientId = '*'])
  • mixed $clientId: The CMS client id (0:site | 1:administrator) or '*' for all.
static parseXMLTemplateFile (line 115)

TODO

  • access: public
static boolean|JObject parseXMLTemplateFile (string $templateBaseDir, string $templateDir)
  • string $templateBaseDir: TODO
  • string $templateDir: TODO

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