API17

API17:JModuleHelper::getLayoutPath

From Joomla! Documentation

Revision as of 15:54, 24 March 2017 by JoomlaWikiBot (talk | contribs) (clean up)

Joomla 11.1 JModuleHelper::getLayoutPath

Description

Get the path to a layout for a module.

{{subst:Description:JModuleHelper::getLayoutPath}}

public static function getLayoutPath (
        $module
        $layout= 'default'
)
Parameter Type Default Description
$module string The name of the module
$layout string 'default' The name of the module layout. If alternative layout, in the form template:filename.
  • Returns string The path to the module layout
  • Defined on line 225 of libraries/joomla/application/module/helper.php
  • Since Joomla 11.1

See also

{{subst:SeeAlso:JModuleHelper::getLayoutPath}}

User contributed notes

<CodeExamplesForm />