public function __construct(Zend_Controller_Request_Abstract $request, Zend_Controller_Response_Abstract $response, array $invokeArgs = array()) { parent::__construct($request, $response, $invokeArgs); $this->_controller = $this->getRequest()->getControllerName(); if ($this->_controller != "message") { /* Maikon.Will - Correção de bug - 14/06/2012 * * O nome do controller vem em minusculo (Ex: treatment) * Como o windows não é totalmente case sensitivity * não ocorre erro nenhum, mas rodando em ambientes Unix, * um ambiente full case sensitivity por padrão, ele não encontrará * nem o modulo, nem nenhum controler e nenhum respectivo arquivo a este modulo * pois o nome definido como padrão no produto sempre será Ex: TreatmentForm.php * * Antes: * $form = $this->_controller."Form"; * $model = $this->_controller."Model"; */ $controller = ucfirst($this->_controller); $form = $controller . "Form"; $model = $controller . "Model"; /** Ajuste: Deve ser feita validação para quando não existe form e model; */ $this->_form = new $form(); $this->_model = new $model(); } }
public function __construct(Zend_Controller_Request_Abstract $request, Zend_Controller_Response_Abstract $response, array $invokeArgs = array()) { parent::__construct($request, $response, $invokeArgs); $this->_auth = Zend_Auth::getInstance(); $this->_config = Zend_Registry::get('config'); }
public function __construct(Zend_Controller_Request_Abstract $request, Zend_Controller_Response_Abstract $response, array $invokeArgs = array()) { parent::__construct($request, $response, $invokeArgs); date_default_timezone_set(DATE_ZONE); Logger::configure(LOG_ERROR); $this->_logger = Logger::getLogger(__CLASS__); }
/** * Class constructor * * The request and response objects should be registered with the * controller, as should be any additional optional arguments; these will be * available via {@link getRequest()}, {@link getResponse()}, and * {@link getInvokeArgs()}, respectively. * * When overriding the constructor, please consider this usage as a best * practice and ensure that each is registered appropriately; the easiest * way to do so is to simply call parent::__construct($request, $response, * $invokeArgs). * * After the request, response, and invokeArgs are set, the * {@link $_helper helper broker} is initialized. * * Finally, {@link init()} is called as the final action of * instantiation, and may be safely overridden to perform initialization * tasks; as a general rule, override {@link init()} instead of the * constructor to customize an action controller's instantiation. * * @param Zend_Controller_Request_Abstract $request * @param Zend_Controller_Response_Abstract $response * @param array $invokeArgs Any additional invocation arguments * @return void */ public function __construct(Zend_Controller_Request_Abstract $request, Zend_Controller_Response_Abstract $response, array $invokeArgs = array()) { if (!$request instanceof HCLI_Controller_Request_Cli) { throw new Exception("CliController may only be accessed from the command line"); } parent::__construct($request, $response, $invokeArgs); }
/** * Disables the view for the Zend Framework environment. * * @param Zend_Controller_Request_Abstract $request * @param Zend_Controller_Response_Abstract $response * @param array $invokeArgs */ public function __construct(Zend_Controller_Request_Abstract $request, Zend_Controller_Response_Abstract $response, array $invokeArgs = array()) { parent::__construct($request, $response, $invokeArgs); $this->_helper->layout()->disableLayout(); $this->getHelper('viewRenderer')->setNoRender(); header("Connection: close"); }
/** * Class constructor * * * @param Zend_Controller_Request_Abstract $request * @param Zend_Controller_Response_Abstract $response * @param array $invokeArgs Any additional invocation arguments * @return void */ public function __construct(\Zend_Controller_Request_Abstract $request, \Zend_Controller_Response_Abstract $response, array $invokeArgs = array()) { if ($request->isXmlHttpRequest()) { $response->setHeader('content-type', 'application/x-www-form-urlencoded; charset=iso-8859-1', true); } parent::__construct($request, $response, $invokeArgs); }
public function __construct(Zend_Controller_Request_Abstract $request, Zend_Controller_Response_Abstract $response, array $invokeArgs = array(), $params = null) { if (!is_null($params)) { $this->params = $params; } parent::__construct($request, $response, $invokeArgs); }
/** * Constructor. * * @param Zend_Controller_Request_Abstract $request request * @param Zend_Controller_Response_Abstract $response response * @param array $invokeArgs parameters * @throws Zend_Exception */ public function __construct(Zend_Controller_Request_Abstract $request, Zend_Controller_Response_Abstract $response, array $invokeArgs = array()) { if ($this->isDebug()) { $this->_controllerTimer = microtime(true); } $this->loadElements(); parent::__construct($request, $response, $invokeArgs); }
/** * Base controller constructor. * * Does the following things: * * - Aliases the redirector helper to clean up the syntax * - Sets the table object automatically if given the class of the model * to use for CRUD. * - Sets all the built-in action contexts for the CRUD actions. * * * Instead of overriding this constructor, controller subclasses should * implement the init() method for initial setup. * * @see Zend_Controller_Action::init() * @param Zend_Controller_Request_Abstract $request Current request object. * @param Zend_Controller_Response_Abstract $response Response object. * @param array $invokeArgs Arguments passed to Zend_Controller_Action. */ public function __construct(Zend_Controller_Request_Abstract $request, Zend_Controller_Response_Abstract $response, array $invokeArgs = array()) { parent::__construct($request, $response, $invokeArgs); if ($this->getParam('result') == 'no') { unset($_SESSION['RESULTS_URL']); } $this->_setActionContexts(); }
/** * Class constructor * * The request and response objects should be registered with the * controller, as should be any additional optional arguments; these will be * available via {@link getRequest()}, {@link getResponse()}, and * {@link getInvokeArgs()}, respectively. * * When overriding the constructor, please consider this usage as a best * practice and ensure that each is registered appropriately; the easiest * way to do so is to simply call parent::__construct($request, $response, * $invokeArgs). * * After the request, response, and invokeArgs are set, the * {@link $_helper helper broker} is initialized. * * Finally, {@link init()} is called as the final action of * instantiation, and may be safely overridden to perform initialization * tasks; as a general rule, override {@link init()} instead of the * constructor to customize an action controller's instantiation. * * @param Zend_Controller_Request_Abstract $request * @param Zend_Controller_Response_Abstract $response * @param array $invokeArgs Any additional invocation arguments * @return void */ public function __construct(Zend_Controller_Request_Abstract $request, Zend_Controller_Response_Abstract $response, array $invokeArgs = array()) { parent::__construct($request, $response, $invokeArgs); if ($this->getRequest()->isXmlHttpRequest()) { $this->_helper->layout()->disableLayout(); } else { $this->view->headScript()->appendFile('/js/ajaxForm.js'); } }
public function __construct(Zend_Controller_Request_Abstract $request, Zend_Controller_Response_Abstract $response, array $invokeArgs = array()) { if ($request === null) { throw new Am_Exception_InternalError("Class " . get_class($this) . " constructed without \$request and \$response"); } $invokeArgs['noViewRenderer'] = true; $this->view = $invokeArgs['di']->view; parent::__construct($request, $response, $invokeArgs); }
public function __construct(Zend_Controller_Request_Abstract $request, Zend_Controller_Response_Abstract $response, array $invokeArgs = array()) { parent::__construct($request, $response, $invokeArgs); $this->viewSuffix = 'html'; $this->getHelper('ViewRenderer')->setViewSuffix('html'); $bootstrap = $this->getFrontController()->getParam('bootstrap'); $aganConfig = $bootstrap->getOption('agan'); $this->_templatePath = $aganConfig['template']['path']; $this->_viewScriptPath = $bootstrap->getOption('resources'); $this->_viewScriptPath = $this->_viewScriptPath['view']['basePath'] . '/scripts'; }
public function __construct(Zend_Controller_Request_Abstract $request, Zend_Controller_Response_Abstract $response, array $invokeArgs = array()) { if (!$request instanceof Sitengine_Controller_Request_Http) { require_once 'Sitengine/Controller/Exception.php'; throw new Sitengine_Controller_Exception('request must be an instance of Sitengine_Controller_Request_Http'); } if (!$response instanceof Zend_Controller_Response_Abstract) { require_once 'Sitengine/Controller/Exception.php'; throw new Sitengine_Controller_Exception('response must be an instance of Zend_Controller_Response_Abstract'); } parent::__construct($request, $response, $invokeArgs); }
public function __construct(Zend_Controller_Request_Abstract $request, Zend_Controller_Response_Abstract $response, array $invokeArgs = array()) { parent::__construct($request, $response, $invokeArgs); $view = $this->view; $view->doctype('XHTML1_STRICT'); $view->headMeta()->appendHttpEquiv('Content-Type', 'text/html;charset=utf-8'); $view->headTitle()->setSeparator(' - '); $view->addHelperPath(APPLICATION_PATH . '/views/helpers/'); $view->headLink(array('rel' => 'icon', 'href' => 'img/favicon.ico', 'type' => 'image/x-icon'))->headLink(array('rel' => 'apple-touch-icon', 'href' => 'img/apple-touch-icon.png', 'sizes' => '72x72'))->appendStylesheet('css/screen.css', 'screen'); $titles = Zend_Registry::get('Zend_Config')->title; if ($titles) { foreach ($titles as $title) { $view->headTitle($title); } } }
/** * Class constructor * * The request and response objects should be registered with the * controller, as should be any additional optional arguments; these will be * available via {@link getRequest()}, {@link getResponse()}, and * {@link getInvokeArgs()}, respectively. * * When overriding the constructor, please consider this usage as a best * practice and ensure that each is registered appropriately; the easiest * way to do so is to simply call parent::__construct($request, $response, * $invokeArgs). * * After the request, response, and invokeArgs are set, the * {@link $_helper helper broker} is initialized. * * Finally, {@link init()} is called as the final action of * instantiation, and may be safely overridden to perform initialization * tasks; as a general rule, override {@link init()} instead of the * constructor to customize an action controller's instantiation. * * @param Zend_Controller_Request_Abstract $request * @param Zend_Controller_Response_Abstract $response * @param array $invokeArgs Any additional invocation arguments * @return void */ public function __construct(Zend_Controller_Request_Abstract $request, Zend_Controller_Response_Abstract $response, array $invokeArgs = array()) { parent::__construct($request, $response, $invokeArgs); if (isset($this->ajaxable)) { // Init AjaxContexts $ajaxContext = $this->getHelper('AjaxContext'); $ajaxContext->initContext(); } if (isset($this->contexts)) { // TODO: TEMPORARY FIX FOR ZF-3690 if (!isset($ajaxContext) || isset($ajaxContext) && $ajaxContext->getCurrentContext() === null) { // Init ContextSwitch $this->getHelper('ContextSwitch')->initContext(); } } }
public function __construct(Zend_Controller_Request_Abstract $request, Zend_Controller_Response_Abstract $response, array $invokeArgs = array()) { parent::__construct($request, $response, $invokeArgs); $ss = $this->_request->getParam("s-s", ""); if ("" != $ss) { $ss = substr($ss, 1, strlen($ss) - 1); //echo $ss ,"\n"; //echo App_Util::decrypt($ss); } $printMode = false; $this->view->printmode = false; if ($this->_request->getParam("print", '') != '') { $this->setPrintLayout(); $this->view->printmode = true; } $this->_translate = Zend_Registry::get('translator'); $this->init_controller(); $this->_formatter = new App_Formatter(); // echo 'App_Controller_Action'; ob_start(); if (!$this->_ignoreAuthen) { $sam = Sam_Auth::getInstance(); $sam->Authorization(); // echo $sam->getUserType(); if ($sam->getUserType() != 'admin') { $sam->clearIdentity(); $this->_helper->redirector('logout', 'index'); } ob_end_clean(); $resource = $request->getControllerName(); if ($resource == 'menu-header') { $resource = 'menu'; } // echo $resource; if ($resource != 'dashboard') { $controller = $resource; $module = $this->_request->getModuleName(); $resource = strtolower("{$module}:{$controller}"); if ($this->isAllowed($resource, 'view') == false) { //$this->_helper->re $this->_helper->redirector('index', 'index', 'app'); } } } // จำ page ล่าสุดไว้สำหรับใช้ในปุ่ม black $this->_init(); }
/** * creats a new ApplicationController * * @param Zend_Controller_Request_Abstract $request * @param Zend_Controller_Response_Abstract $response * @param array $invokeArgs * @return ApplicationController */ public function __construct(Zend_Controller_Request_Abstract $request, Zend_Controller_Response_Abstract $response, array $invokeArgs = array()) { parent::__construct($request, $response, $invokeArgs); // retting old post if this is a redirect $session = new Zend_Session_Namespace('workarounds'); if ($session->lastPost) { $_POST = $session->lastPost; } unset($session->lastPost); $this->view->basepath = Zend_Registry::get('configuration')->basepath; $this->view->pageTitle = "WG Organizer"; $this->view->currentResident = $this->getCurrentResident(); $this->view->mainMenue = $this->getMainMenue(); $this->view->subMenue = $this->getSubMenue(); $this->view->flashMessenger = $this->_helper->getHelper('FlashMessenger'); // Zend_Debug::dump($this->getCurrentResident()); }
/** * The class constructor * @param Zend_Controller_Request_Abstract $request * @param Zend_Controller_Response_Abstract $response * @param array $invokeArgs */ public function __construct(Zend_Controller_Request_Abstract $request, Zend_Controller_Response_Abstract $response, array $invokeArgs = array()) { $this->_delegateHelper = new FansubCMS_Helper_Delegate($request->getModuleName()); $this->_cacheHelper = FansubCMS_Cache_Helper::getInstance(); parent::__construct($request, $response, $invokeArgs); $this->defaultUseRole = 'fansubcms_user_custom_role_logged_in_user'; $this->request = $request; $this->session = Zend_Registry::get('applicationSessionNamespace'); $this->session->tableActions = array(); $this->acl = Zend_Registry::get('Zend_Acl'); $envSettings = Zend_Registry::get('environmentSettings'); if (!empty($this->session->message)) { $this->view->message = $this->session->message; $this->view->message_type = $this->session->message_type; unset($this->session->message); unset($this->session->message_type); } $this->session->markitup = ''; }
public function __construct(Zend_Controller_Request_Abstract $request, Zend_Controller_Response_Abstract $response, array $invokeArgs = array()) { //$renderer = Zend_Controller_Action_HelperBroker::getStaticHelper('viewRenderer'); //$view = new ITechView(array('basePath' => Globals::$BASE_PATH.'/app/views')); //$renderer->setView($view); parent::__construct($request, $response, $invokeArgs); //not sure if we need this stuff require_once 'Zend/Filter/Digits.php'; require_once 'Zend/Filter/Alpha.php'; $this->digitsFilter = new Zend_Filter_Digits(false); //no whitespace $this->alphaFilter = new Zend_Filter_Alpha(false); //no whitespace //Zend_Json::$useBuiltinEncoderDecoder = false; //set default template variables $this->view->assign('base_url', Settings::$COUNTRY_BASE_URL); $this->view->setHelperPath(Globals::$BASE_PATH . '/app/views/helpers'); // get Country-specific settings try { $this->_countrySettings = array(); $this->_countrySettings = System::getAll(); $this->_countrySettings['num_location_tiers'] = 2 + $this->_countrySettings['display_region_b'] + $this->_countrySettings['display_region_c'] + $this->_countrySettings['display_region_d'] + $this->_countrySettings['display_region_e'] + $this->_countrySettings['display_region_f'] + $this->_countrySettings['display_region_g'] + $this->_countrySettings['display_region_h'] + $this->_countrySettings['display_region_i']; $this->view->assign('setting', $this->_countrySettings); $this->view->assign('languages', ITechTranslate::getLanguages()); $this->view->assign('languages_enabled', ITechTranslate::getLocaleEnabled()); } catch (exception $e) { throw new Exception('Could not connect to a database associated with this country. Please double check that you have the correct URL and that the site is configured correctly.'); } # TRY loop is not returning values on system::getall() # Adding settings outside loop # CDL, 5.25.2012 $sys = System::getAll(); foreach ($sys as $key => $val) { $this->_countrySettings[$key] = $val; } $this->_countrySettings['num_location_tiers'] = 2 + $this->_countrySettings['display_region_b'] + $this->_countrySettings['display_region_c'] + $this->_countrySettings['display_region_d'] + $this->_countrySettings['display_region_e'] + $this->_countrySettings['display_region_f'] + $this->_countrySettings['display_region_g'] + $this->_countrySettings['display_region_h'] + $this->_countrySettings['display_region_i']; $response->setHeader('Content-Type', 'text/html; charset=utf-8', true); }
public function __construct(Zend_Controller_Request_Abstract $request, Zend_Controller_Response_Abstract $response, array $invokeArgs = array()) { parent::__construct($request, $response, $invokeArgs); $this->_initializeViewVariables(); }
/** * Class constructor. * * @param Zend_Controller_Request_Abstract $request * @param Zend_Controller_Response_Abstract $response * @param array $invokeArgs * * @return void */ public function __construct(Zend_Controller_Request_Abstract $request, Zend_Controller_Response_Abstract $response, array $invokeArgs = array()) { $this->_suppressCmsUrl[] = 'about-us/meet-the-team'; return parent::__construct($request, $response, $invokeArgs); }
public function __construct(Zend_Controller_Request_Abstract $request, Zend_Controller_Response_Abstract $response, array $invokeArgs = array()) { parent::__construct($request, $response, $invokeArgs); $this->_helper->addPath('Zwe/Controller/Action/Helper', 'Zwe_Controller_Action_Helper'); $this->initContext(); }
public function __construct(Zend_Controller_Request_Abstract $request, Zend_Controller_Response_Abstract $response, array $invokeArgs = array()) { parent::__construct($request, $response, $invokeArgs); Kwf_Benchmark::checkpoint('Action::init'); }
public function __construct(Zend_Controller_Request_Abstract $request, Zend_Controller_Response_Abstract $response, array $invokeArgs = array()) { $this->_resourceId = strtolower($request->getControllerName()); parent::__construct($request, $response, $invokeArgs); }
public function __construct(Zend_Controller_Request_Abstract $request, Zend_Controller_Response_Abstract $response, array $invokeArgs = array()) { parent::__construct($request, $response, $invokeArgs); }
public function __construct(Zend_Controller_Request_Abstract $request, Zend_Controller_Response_Abstract $response, array $invokeArgs = array()) { $_SESSION['locale_min'] = isset($_SESSION['locale_min']) ? $_SESSION['locale_min'] : "vn"; parent::__construct($request, $response, $invokeArgs); }
/** * Override the Zend_Controller_Action's constructor (which is called * at the very beginning of this function anyway). * * * @param object $request See Parent class constructor * @param object $response See Parent class constructor * @param object $invokeArgs See Parent class constructor */ public function __construct(Zend_Controller_Request_Abstract $request, Zend_Controller_Response_Abstract $response, array $invokeArgs = null) { // get the bootstrap object and set it in the registry $this->setBootstrap($invokeArgs['bootstrap']); // get the options and set it in the registry $this->_options = $this->getBootstrap()->getOptions(); Zend_Registry::set('options', $this->_options); // call the parent's version where all the Zend magic happens parent::__construct($request, $response, $invokeArgs); // if we issue a redirect, we want it to exit immediatly $this->getHelper('Redirector')->setExit(true); // ensure CLI actions are only run from the CLI if (($request->getControllerName() == 'cli' || substr($request->getActionName(), 0, 3) == 'cli') && php_sapi_name() != 'cli') { die('Invalid action - CLI only'); } $this->initialiseTraits($request, $response, $invokeArgs); }
/** * Override the Zend_Controller_Action's constructor (which is called * at the very beginning of this function anyway). * * @param object $request See Parent class constructor * @param object $response See Parent class constructor * @param object $invokeArgs See Parent class constructor */ public function __construct(Zend_Controller_Request_Abstract $request, Zend_Controller_Response_Abstract $response, array $invokeArgs = null) { // get the bootstrap object $this->_bootstrap = $invokeArgs['bootstrap']; // load up the options $this->_options = $this->_bootstrap->getOptions(); // and from the bootstrap, we can get other resources: $this->_config = $this->_bootstrap->getResource('config'); $this->_logger = $this->_bootstrap->getResource('logger'); $this->_session = $this->_bootstrap->getResource('namespace'); $this->_doctrine = $this->_bootstrap->getResource('doctrine'); $this->_auth = $this->_bootstrap->getResource('auth'); $this->_identity = $this->_auth->getIdentity(); $this->_admin = $this->_identity['admin']; // Smarty must be set during bootstrap try { $this->view = $this->createView(); $this->view->session = $this->_session; $this->view->options = $this->_options; $this->view->auth = $this->_auth; $this->view->hasIdentity = $this->_auth->hasIdentity(); $this->view->identity = $this->_identity; } catch (Zend_Exception $e) { echo _('Caught exception') . ': ' . get_class($e) . "\n"; echo _('Message') . ': ' . $e->getMessage() . "\n"; die("\n\n" . _('You must set-up Smarty in the bootstrap code.') . "\n\n"); } $this->view->addHelperPath('ViMbAdmin/View/Helper', 'ViMbAdmin_View_Helper'); // call the parent's version where all the Zend magic happens parent::__construct($request, $response, $invokeArgs); $this->view->controller = $this->getRequest()->getParam('controller'); $this->view->action = $this->getRequest()->getParam('action'); $this->view->doctype('XHTML1_TRANSITIONAL'); $this->view->headMeta()->appendHttpEquiv('Content-Type', 'text/html; charset=utf-8'); // if we issue a redirect, we want it to exit immediatly $this->getHelper('Redirector')->setExit(true); // SECURITY and other stuff for logged in users if ($this->_auth->hasIdentity()) { // version check if (!(isset($this->_options['skipVersionCheck']) && $this->_options['skipVersionCheck'])) { if ($this->getAdmin()->isSuper()) { $this->checkVersion(); } } // SECURITY $params = $this->_getAllParams(); if (isset($params['aid']) && $params['aid']) { if (!($this->_targetAdmin = $this->loadAdmin($params['aid']))) { // domain id parameter specified but invalid or non-existant $this->addMessage(_("Invalid or non-existant admin."), ViMbAdmin_Message::ERROR); $this->_redirect('admin/list'); die('ViMbAdmin_Controller_Action:preDispatch() - should not execute'); } // can only act on a target admin if we're a super admin (or ourselves!)! if ($this->getAdmin()->id != $this->_targetAdmin['id']) { $this->authorise(true); } } if (isset($params['did']) && $params['did']) { if (!($this->_domain = $this->loadDomain($params['did']))) { // domain id parameter specified but invalid or non-existant $this->addMessage(_("Invalid or non-existant domain."), ViMbAdmin_Message::ERROR); $this->_redirect('domain/list'); die('ViMbAdmin_Controller_Action:preDispatch() - should not execute'); } // is this user allowed to admin the given domain? $this->authorise(false, $this->_domain); } if (isset($params['mid']) && $params['mid']) { if (!($this->_mailbox = $this->loadMailbox($params['mid']))) { // mailbox id parameter specified but invalid or non-existant $this->addMessage(_("Invalid or non-existant mailbox."), ViMbAdmin_Message::ERROR); $this->_redirect('mailbox/list'); die('ViMbAdmin_Controller_Action:preDispatch() - should not execute'); } // is this user allowed to admin the given mailbox? if (!$this->_domain) { if (!($this->_domain = Doctrine::getTable('Domain')->findOneByDomain($this->_mailbox['domain']))) { $this->addMessage(_("Invalid or non-existant domain."), ViMbAdmin_Message::ERROR); $this->_redirect('domain/list'); die('ViMbAdmin_Controller_Action:preDispatch() - should not execute'); } } $this->authorise(false, $this->_domain); } if (isset($params['alid']) && $params['alid']) { if (!($this->_alias = $this->loadAlias($params['alid']))) { // alias id parameter specified but invalid or non-existant $this->addMessage(_("Invalid or non-existant alias."), ViMbAdmin_Message::ERROR); $this->_redirect('alias/list'); die('ViMbAdmin_Controller_Action:preDispatch() - should not execute'); } // is this user allowed to admin the given mailbox? if (!$this->_domain) { if (!($this->_domain = Doctrine::getTable('Domain')->findOneByDomain($this->_alias['domain']))) { $this->addMessage(_("Invalid or non-existant domain."), ViMbAdmin_Message::ERROR); $this->_redirect('domain/list'); die('ViMbAdmin_Controller_Action:preDispatch() - should not execute'); } } $this->authorise(false, $this->_domain); } } else { } }
public function __construct(Zend_Controller_Request_Abstract $request, Zend_Controller_Response_Abstract $response, array $invokeArgs = array()) { parent::__construct($request, $response, $invokeArgs); Centurion_Traits_Common::initTraits($this); }
/** * コンストラクタ * * @param Zend_Controller_Request_Abstract $request * @param Zend_Controller_Response_Abstract $response * @param array $invokeArgs */ function __construct(Zend_Controller_Request_Abstract $request, Zend_Controller_Response_Abstract $response, array $invokeArgs = array()) { parent::__construct($request, $response, $invokeArgs); // 自動的にレンダリングOFF $this->_helper->viewRenderer->setNoRender(); }