Method | Description | |
---|---|---|
doAction ( |
Single entry point for all JSON admin requests. | |
fileAction ( ) : |
Returns the JS file content | |
indexAction ( |
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 ( ) : 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 ( |
||
$request | Symfony request object | |
return | JSON RPC message response |
public fileAction ( ) : |
||
return | Response object |
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 ( ) : array | ||
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 ( |
||
$request | Symfony request object | |
return | Generated output for the admin interface |