initialize() initialize() Initializes scaffolding Throws \Vegas\Mvc\Controller\Crud\Exception\NotConfiguredException
jsonResponse() jsonResponse( $data) : \Phalcon\Http\ResponseInterface Renders JSON response Disables view Parameters $data Returns \Phalcon\Http\ResponseInterface
_() _(mixed $text) : string _ Alias for $this->i18n->_(). Returns translated text. Parameters mixed $text Returns string
throw403() throw403(string $message) Throws exception with code 403 Parameters string $message Throws \Vegas\Exception
throw404() throw404(string $message) Throws exception with code 404 Parameters string $message Throws \Vegas\Exception
throw500() throw500(string $message) Throws exception with code 500 Parameters string $message Throws \Vegas\Exception
checkRequest() checkRequest() Checks if request was send using POST method Throws \Vegas\Mvc\Controller\Crud\Exception\PostRequiredException