PHP Class Aimeos\Shop\Controller\JqadmController

Inheritance: extends AdminController, use trait Illuminate\Foundation\Auth\Access\AuthorizesRequests
Show file Open project: aimeos/aimeos-laravel

Public Methods

Method Description
copyAction ( ) : string Returns the HTML code for a copy of a resource object
createAction ( ) : string Returns the HTML code for a new resource object
deleteAction ( ) : string Deletes the resource object or a list of resource objects
fileAction ( ) : Illuminate\Http\Response Returns the JS file content
getAction ( ) : string Returns the HTML code for the requested resource object
saveAction ( ) : string Saves a new resource object
searchAction ( ) : string Returns the HTML code for a list of resource objects

Protected Methods

Method Description
createClient ( ) : Aimeos\Admin\JQAdm\Iface Returns the resource controller
getHtml ( string $content ) : Illuminate\Contracts\View\View Returns the generated HTML code

Method Details

copyAction() public method

Returns the HTML code for a copy of a resource object
public copyAction ( ) : string
return string Generated output

createAction() public method

Returns the HTML code for a new resource object
public createAction ( ) : string
return string Generated output

createClient() protected method

Returns the resource controller
protected createClient ( ) : Aimeos\Admin\JQAdm\Iface
return Aimeos\Admin\JQAdm\Iface JQAdm client

deleteAction() public method

Deletes the resource object or a list of resource objects
public deleteAction ( ) : string
return string Generated output

fileAction() public method

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

getAction() public method

Returns the HTML code for the requested resource object
public getAction ( ) : string
return string Generated output

getHtml() protected method

Returns the generated HTML code
protected getHtml ( string $content ) : Illuminate\Contracts\View\View
$content string Content from admin client
return Illuminate\Contracts\View\View View for rendering the output

saveAction() public method

Saves a new resource object
public saveAction ( ) : string
return string Generated output

searchAction() public method

Returns the HTML code for a list of resource objects
public searchAction ( ) : string
return string Generated output