Aimeos\ShopBundle\Controller\JqadmController::saveAction PHP Метод

saveAction() публичный Метод

Saves a new resource object
public saveAction ( Request $request, string $resource, string $site = 'default' ) : Response
$request Symfony\Component\HttpFoundation\Request Symfony request object
$resource string Resource location, e.g. "product"
$site string Unique site code
Результат Symfony\Component\HttpFoundation\Response Generated output
    public function saveAction(Request $request, $resource, $site = 'default')
    {
        $cntl = $this->createClient($request, $site, $resource);
        return $this->getHtml($cntl->save() ?: $cntl->search());
    }