Class JLayoutFile
Base class for rendering a display layout loaded from from a layout file
- JLayoutBase implements JLayout
- JLayoutFile
Direct known subclasses
Copyright: Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
License: General Public License version 2 or later; see LICENSE.txt
Since: 3.0
Link: https://docs.joomla.org/Special:MyLanguage/Sharing_layouts_across_views_or_extensions_with_JLayout
Located at cms/layout/file.php
Methods summary
public
|
#
__construct( string $layoutId, string $basePath = null, mixed $options = null )
Method to instantiate the file-based layout. |
public
string
|
|
protected
string
|
|
public
|
#
addIncludePath( string $path )
Add one path to include in layout search. Proxy of addIncludePaths() |
public
|
|
public
|
|
public
array
|
|
public
string
|
|
public
array
|
|
public
|
#
loadLanguageSuffixes( )
Load the automatically generated language suffixes. Example: array('es-ES', 'es', 'ltr') |
public
|
#
loadVersionSuffixes( )
Load the automatically generated version suffixes. Example: array('j311', 'j31', 'j3') |
public
|
|
public
|
|
protected
boolean
|
|
public
mixed
|
|
public
|
|
public
|
|
public
|
|
protected
|
|
public
array
|
|
public
|
|
public
|
|
public
string
|
Methods inherited from JLayoutBase
addDebugMessage()
,
clearDebugMessages()
,
debug()
,
escape()
,
get()
,
getData()
,
getDebugMessages()
,
getOptions()
,
isDebugEnabled()
,
renderDebugMessages()
,
resetOptions()
,
set()
,
setData()
,
setDebug()
,
setOptions()
Magic methods summary
Properties summary
protected static
array
|
$cache |
#
Cached layout paths |
protected
string
|
$layoutId |
#
Dot separated path to the layout file, relative to base path |
protected
string
|
$basePath |
#
Base path to use when loading layout files |
protected
string
|
$fullPath |
#
Full path to actual layout files, after possible template override check |
protected
array
|
$includePaths |
#
Paths to search for layouts |