- FICHEIRO: /var/sites/inteli/application/Banners/Controller.php
- LINHA: 120
- MENSAGEM: Undefined variable: imgs
- 116. $this->view->all_banners = $all_banners;
- 117. foreach ($all_banners as $banner) :
- 118. $imgs[] = $banner->id;
- 119. endforeach;
- 120. $this->_session->banners = $imgs;
- 121. }
- 122. $this->_helper->viewRenderer->setNoRender();
- 123.
- 124. }
- 125.
- FICHEIRO: /var/sites/inteli/application/Banners/Controller.php
- LINHA: 120
- 116. $this->view->all_banners = $all_banners;
- 117. foreach ($all_banners as $banner) :
- 118. $imgs[] = $banner->id;
- 119. endforeach;
- 120. $this->_session->banners = $imgs;
- 121. }
- 122. $this->_helper->viewRenderer->setNoRender();
- 123.
- 124. }
- 125.
- FICHEIRO: /var/sites/inteli/library/Goweb/Controller/Action.php
- LINHA: 276
- 272. */
- 273. /*if ($this->getInvokeArg('useCaseSensitiveActions')) {
- 274. trigger_error('Using case sensitive actions without word separators is deprecated; please do not rely on this "feature"');
- 275. }*/
- 276. $this->$action();
- 277. } else {
- 278. $this->__call($action, array());
- 279. }
- 280. $this->postDispatch();
- 281. }
- FICHEIRO: /var/sites/inteli/library/Zend/Controller/Dispatcher/Standard.php
- LINHA: 289
- 285. ob_start();
- 286. }
- 287.
- 288. try {
- 289. $controller->dispatch($action);
- 290. } catch (Exception $e) {
- 291. // Clean output buffer on error
- 292. $curObLevel = ob_get_level();
- 293. if ($curObLevel > $obLevel) {
- 294. do {
- FICHEIRO: /var/sites/inteli/library/Zend/View/Helper/Action.php
- LINHA: 131
- 127. ->setControllerName($controller)
- 128. ->setActionName($action)
- 129. ->setDispatched(true);
- 130.
- 131. $this->dispatcher->dispatch($this->request, $this->response);
- 132.
- 133. // reset the viewRenderer object to it's original state
- 134. Zend_Controller_Action_HelperBroker::addHelper($viewRendererObj);
- 135.
- 136.
- FICHEIRO: /var/sites/inteli/library/Goweb/View/Helper/Component.php
- LINHA: 56
- 52. $params['directRequest'] = false;
- 53.
- 54. //$controllerName = $this->_formatControllerName($controller);
- 55. //$actionName = $this->_formatActionName($action);
- 56. $return = $this->action($action, $controller, null, $params);
- 57. //goweb::dump($return);
- 58. //exit();
- 59. return $return;
- 60. }
- 61. }
- FICHEIRO: /var/sites/inteli/library/Zend/View/Abstract.php
- LINHA: 340
- 336. // call the helper method
- 337. return call_user_func_array(
- 338. array($helper, $name),
- 339. $args
- 340. );
- 341. }
- 342.
- 343. /**
- 344. * Given a base path, sets the script, helper, and filter paths relative to it
- 345. *
- FICHEIRO: /var/sites/inteli/views/homepage.tpl
- LINHA: 106
- 102. </head>
- 103. <body id="homepage">
- 104. <div id="container">
- 105. <?php
- 106. echo $this->component('/banners/all/categoria_id/3');
- 107. ?>
- 108. <!--START CONTAINER-->
- 109. <div id="header">
- 110. <!--START HEADER-->
- 111. <?php echo $this->component('/cms/header'); ?>
- FICHEIRO: /var/sites/inteli/views/homepage.tpl
- LINHA: 106
- 102. </head>
- 103. <body id="homepage">
- 104. <div id="container">
- 105. <?php
- 106. echo $this->component('/banners/all/categoria_id/3');
- 107. ?>
- 108. <!--START CONTAINER-->
- 109. <div id="header">
- 110. <!--START HEADER-->
- 111. <?php echo $this->component('/cms/header'); ?>
- FICHEIRO: /var/sites/inteli/library/Goweb/View.php
- LINHA: 49
- 45. extract(get_object_vars($this));
- 46. if ($this->_useViewStream && $this->useStreamWrapper()) {
- 47. include 'zend.view://' . func_get_arg(0);
- 48. } else {
- 49. include func_get_arg(0);
- 50. }
- 51. }
- 52.
- 53. /**
- 54. * Escapes a value for output in a view script.
- FICHEIRO: /var/sites/inteli/library/Zend/View/Abstract.php
- LINHA: 831
- 827. $this->_file = $this->_script($name);
- 828. unset($name); // remove $name from local scope
- 829.
- 830. ob_start();
- 831. $this->_run($this->_file);
- 832.
- 833. return $this->_filter(ob_get_clean()); // filter output
- 834. }
- 835.
- 836. /**
- FICHEIRO: /var/sites/inteli/library/Zend/Controller/Action/Helper/ViewRenderer.php
- LINHA: 903
- 899. $name = $this->getResponseSegment();
- 900. }
- 901.
- 902. $this->getResponse()->appendBody(
- 903. $this->view->render($script),
- 904. $name
- 905. );
- 906.
- 907. $this->setNoRender();
- 908. }
- FICHEIRO: /var/sites/inteli/library/Zend/Controller/Action/Helper/ViewRenderer.php
- LINHA: 924
- 920. public function render($action = null, $name = null, $noController = null)
- 921. {
- 922. $this->setRender($action, $name, $noController);
- 923. $path = $this->getViewScript();
- 924. $this->renderScript($path, $name);
- 925. }
- 926.
- 927. /**
- 928. * Render a script based on specification variables
- 929. *
- FICHEIRO: /var/sites/inteli/library/Zend/Controller/Action/Helper/ViewRenderer.php
- LINHA: 963
- 959. */
- 960. public function postDispatch()
- 961. {
- 962. if ($this->_shouldRender()) {
- 963. $this->render();
- 964. }
- 965. }
- 966.
- 967. /**
- 968. * Should the ViewRenderer render a view script?
- FICHEIRO: /var/sites/inteli/library/Zend/Controller/Action/HelperBroker.php
- LINHA: 277
- 273. */
- 274. public function notifyPostDispatch()
- 275. {
- 276. foreach (self::getStack() as $helper) {
- 277. $helper->postDispatch();
- 278. }
- 279. }
- 280.
- 281. /**
- 282. * getHelper() - get helper by name
- FICHEIRO: /var/sites/inteli/library/Goweb/Controller/Action.php
- LINHA: 286
- 282.
- 283. // whats actually important here is that this action controller is
- 284. // shutting down, regardless of dispatching; notify the helpers of this
- 285. // state
- 286. $this->_helper->notifyPostDispatch();
- 287. }
- 288.
- 289. /**
- 290. * Obter Caracteres especiais usados em windows
- 291. *
- FICHEIRO: /var/sites/inteli/library/Zend/Controller/Dispatcher/Standard.php
- LINHA: 289
- 285. ob_start();
- 286. }
- 287.
- 288. try {
- 289. $controller->dispatch($action);
- 290. } catch (Exception $e) {
- 291. // Clean output buffer on error
- 292. $curObLevel = ob_get_level();
- 293. if ($curObLevel > $obLevel) {
- 294. do {
- FICHEIRO: /var/sites/inteli/library/Zend/Controller/Front.php
- LINHA: 946
- 942. /**
- 943. * Dispatch request
- 944. */
- 945. try {
- 946. $dispatcher->dispatch($this->_request, $this->_response);
- 947. } catch (Exception $e) {
- 948. if ($this->throwExceptions()) {
- 949. throw $e;
- 950. }
- 951. $this->_response->setException($e);
- FICHEIRO: /var/sites/inteli/library/Goweb/Application.php
- LINHA: 428
- 424. }
- 425.
- 426. public function runApp(){
- 427. $frontController = Zend_Controller_Front::getInstance();
- 428. $frontController->dispatch();
- 429. }
- 430. }
- FICHEIRO: /var/sites/inteli/public_html/index.php
- LINHA: 53
- 49. $application->initSession('_FRONT', true);
- 50. $application->initPainel();
- 51. $application->initLanguage(isset($_GET['lang']) ? $_GET['lang'] : null, true, false);
- 52. $application->initLanguageAdmin(isset($_GET['lang']) ? $_GET['lang'] : null, true, true);
- 53. $application->runApp();
- 54.
- 55.
- 56. /**
- 57. * Efectua a traducao de uma string.
- 58. */