Method | Description | |
---|---|---|
doAction ( Illuminate\Http\Request $request ) : Illuminate\Contracts\View\View | Single entry point for all JSON admin requests. | |
fileAction ( ) : Illuminate\Http\Response | Returns the JS file content | |
indexAction ( Illuminate\Http\Request $request ) : Illuminate\Contracts\View\View | Returns the initial HTML view for the admin interface. |
Method | Description | |
---|---|---|
getJsonClientConfig ( Aimeos\MShop\Context\Item\Iface $context ) : string | Returns the JSON encoded configuration for the ExtJS client. | |
getJsonClientI18n ( array $i18nPaths, string $lang ) : string | Returns the JSON encoded translations for the ExtJS client. | |
getJsonLanguages ( Aimeos\MShop\Context\Item\Iface $context ) : array | Creates a list of all available translations. | |
getJsonSiteItem ( Aimeos\MShop\Context\Item\Iface $context, string $site ) : string | Returns the JSON encoded site item. |
public doAction ( Illuminate\Http\Request $request ) : Illuminate\Contracts\View\View | ||
$request | Illuminate\Http\Request | Laravel request object |
return | Illuminate\Contracts\View\View | View for rendering the output |
public fileAction ( ) : Illuminate\Http\Response | ||
return | Illuminate\Http\Response | Response object containing the generated output |
protected getJsonClientConfig ( Aimeos\MShop\Context\Item\Iface $context ) : string | ||
$context | Aimeos\MShop\Context\Item\Iface | Context item object |
return | string | JSON encoded configuration object |
protected getJsonLanguages ( Aimeos\MShop\Context\Item\Iface $context ) : array | ||
$context | Aimeos\MShop\Context\Item\Iface | Context object |
return | array | List of language IDs with labels |
protected getJsonSiteItem ( Aimeos\MShop\Context\Item\Iface $context, string $site ) : string | ||
$context | Aimeos\MShop\Context\Item\Iface | Context item object |
$site | string | Unique site code |
return | string | JSON encoded site item object |
public indexAction ( Illuminate\Http\Request $request ) : Illuminate\Contracts\View\View | ||
$request | Illuminate\Http\Request | Laravel request object |
return | Illuminate\Contracts\View\View | View for rendering the output |