Creates the view object for the HTML client.
public create ( Aimeos\MShop\Context\Item\Iface $context, array $templatePaths, string | null $locale = null ) : Aimeos\MW\View\Iface | ||
$context | Aimeos\MShop\Context\Item\Iface | Context object |
$templatePaths | array | List of base path names with relative template paths as key/value pairs |
$locale | string | null | Code of the current language or null for no translation |
return | Aimeos\MW\View\Iface | View object |