Aimeos\Shop\Controller\JqadmController::saveAction PHP 메소드

saveAction() 공개 메소드

Saves a new resource object
public saveAction ( ) : string
리턴 string Generated output
    public function saveAction()
    {
        if (config('shop.authorize', true)) {
            $this->authorize('admin', [['admin', 'editor']]);
        }
        $cntl = $this->createClient();
        return $this->getHtml($cntl->save() ?: $cntl->search());
    }