PHP 클래스 Aimeos\Shop\Controller\ExtadmController

상속: extends TYPO3\Flow\Mvc\Controller\ActionController
파일 보기 프로젝트 열기: aimeos/aimeos-laravel

공개 메소드들

메소드 설명
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.

보호된 메소드들

메소드 설명
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.

메소드 상세

doAction() 공개 메소드

Single entry point for all JSON admin requests.
public doAction ( Illuminate\Http\Request $request ) : Illuminate\Contracts\View\View
$request Illuminate\Http\Request Laravel request object
리턴 Illuminate\Contracts\View\View View for rendering the output

fileAction() 공개 메소드

Returns the JS file content
public fileAction ( ) : Illuminate\Http\Response
리턴 Illuminate\Http\Response Response object containing the generated output

getJsonClientConfig() 보호된 메소드

Returns the JSON encoded configuration for the ExtJS client.
protected getJsonClientConfig ( Aimeos\MShop\Context\Item\Iface $context ) : string
$context Aimeos\MShop\Context\Item\Iface Context item object
리턴 string JSON encoded configuration object

getJsonClientI18n() 보호된 메소드

Returns the JSON encoded translations for the ExtJS client.
protected getJsonClientI18n ( array $i18nPaths, string $lang ) : string
$i18nPaths array List of file system paths which contain the translation files
$lang string ISO language code like "en" or "en_GB"
리턴 string JSON encoded translation object

getJsonLanguages() 보호된 메소드

Creates a list of all available translations.
protected getJsonLanguages ( Aimeos\MShop\Context\Item\Iface $context ) : array
$context Aimeos\MShop\Context\Item\Iface Context object
리턴 array List of language IDs with labels

getJsonSiteItem() 보호된 메소드

Returns the JSON encoded site item.
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
리턴 string JSON encoded site item object

indexAction() 공개 메소드

Returns the initial HTML view for the admin interface.
public indexAction ( Illuminate\Http\Request $request ) : Illuminate\Contracts\View\View
$request Illuminate\Http\Request Laravel request object
리턴 Illuminate\Contracts\View\View View for rendering the output