PHP Class FOF30\Layout\LayoutHelper

Datei anzeigen Open project: akeeba/fof Class Usage Examples

Public Properties

Property Type Description
$defaultBasePath string Note that JLayoutFile itself will defaults to JPATH_ROOT . '/layouts' if no basePath is supplied at all

Public Methods

Method Description
render ( Container $container, string $layoutFile, object $displayData = null, string $basePath = '' ) : string Method to render the layout.

Method Details

render() public static method

Method to render the layout.
public static render ( Container $container, string $layoutFile, object $displayData = null, string $basePath = '' ) : string
$container FOF30\Container\Container The container of your component
$layoutFile string Dot separated path to the layout file, relative to base path
$displayData object Object which properties are used inside the layout file to build displayed output
$basePath string Base path to use when loading layout files
return string

Property Details

$defaultBasePath public_oe static_oe property

Note that JLayoutFile itself will defaults to JPATH_ROOT . '/layouts' if no basePath is supplied at all
public static string $defaultBasePath
return string