PHP Class Aimeos\Shop\Base\Page

Show file Open project: aimeos/aimeos-laravel Class Usage Examples

Public Methods

Method Description
__construct ( Illuminate\Contracts\Config\Repository $config, Aimeos\Shop\Base\Aimeos $aimeos, Context $context, Locale $locale, View $view ) Initializes the object
getSections ( string $pageName ) : array Returns the body and header sections created by the clients configured for the given page name.

Method Details

__construct() public method

Initializes the object
public __construct ( Illuminate\Contracts\Config\Repository $config, Aimeos\Shop\Base\Aimeos $aimeos, Context $context, Locale $locale, View $view )
$config Illuminate\Contracts\Config\Repository Configuration object
$aimeos Aimeos\Shop\Base\Aimeos Aimeos object
$context Context Context object
$locale Locale Locale object
$view View View object

getSections() public method

Returns the body and header sections created by the clients configured for the given page name.
public getSections ( string $pageName ) : array
$pageName string Name of the configured page
return array Associative list with body and header output separated by client name