- FICHEIRO: /home/transfrio/library/Zend/Db/Table/Abstract.php
- LINHA: 830
- MENSAGEM: Failed saving metadata to metadataCache
- 826. /**
- 827. * @see Zend_Db_Table_Exception
- 828. */
- 829. require_once 'Zend/Db/Table/Exception.php';
- 830. throw new Zend_Db_Table_Exception('Failed saving metadata to metadataCache');
- 831. }
- 832. }
- 833.
- 834. // Assign the metadata to $this
- 835. $this->_metadata = $metadata;
- FICHEIRO: /home/transfrio/library/Goweb/Db/Model.php
- LINHA: 1041
- 1037. * @return bool|Goweb_Db_Model_Rowset Retorna o objecto Goweb_Db_Rowset com os resultados ou
- 1038. * FALSE se não foi encontrado nenhuma linha na tabela
- 1039. */
- 1040. public function fetchAll($cols = null) {
- 1041. $this->_setupMetadata();
- 1042. if (is_array($cols) && in_array('*', $cols)) {
- 1043. unset($cols[array_search('*', $cols)]);
- 1044. $cols = array_merge(array_keys($this->_colsModel), $cols);
- 1045. }
- 1046.
- FICHEIRO: /home/transfrio/application/Cms/GenericController.php
- LINHA: 1790
- 1786. if ($this->_model->colExists('popup')){
- 1787. $fetchCols[] = 'popup';
- 1788. }
- 1789.
- 1790. $rowset = $this->_model->fetchAll($fetchCols);
- 1791.
- 1792. if ($rowset) {
- 1793. foreach ($rowset as $row) {
- 1794. if (!$row->menu || !$row->activo) continue;
- 1795. $node = array($idCol => $row->{$idCol},
- FICHEIRO: /home/transfrio/application/Cms/GenericController.php
- LINHA: 582
- 578. $this->_helper->viewRenderer->setRender('menu-list');
- 579. $this->view->menu = '';
- 580. if ($this->_validateId($id) && $id > 0 && !$this->_model->find($id)) return false;
- 581. if ($this->_validateId($pai_id) && $pai_id > 0 && !$this->_model->find($pai_id)) return false;
- 582. $tree = $this->_getTree();
- 583. $tree->build($pai_id);
- 584. $parents = $this->_getAllParents($id);
- 585. $this->view->menu = $this->_getList2($tree->getTree(), null, $pai_id, $id, 0, $parents);
- 586. $this->view->menu .= '<script type="text/javascript">
- 587. var menu_id_' . $pai_id . '=new menu.dd("menu_id_' . $pai_id . '");
- FICHEIRO: /home/transfrio/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: /home/transfrio/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: /home/transfrio/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: /home/transfrio/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: /home/transfrio/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: /home/transfrio/views/Cms/header.tpl
- LINHA: 16
- 12. <div class="barra_control_banners"><img src="/media/images/barra_control_banners.png" border="0" alt="" title=""/></div>
- 13. <div id="menu">
- 14. <div class="esq">
- 15. <div style="margin-bottom:33px;"><a href="<?php echo $this->link('/'); ?>"><?php echo $this->img('/media/images/logo.png', array('alt'=>translate('TransFrio'), 'title'=>translate('TransFrio'), 'border' =>0))?></a></div>
- 16. <div id="menutop"><?= $this->component('/cms/menu-list2/pai_id/0/id_selected/'.$id); ?></div>
- 17. </div>
- 18. <div class="dir" align="right">
- 19. <div style="float:left; padding-left:120px; padding-top:12px;">
- 20. <div id="botao_left"><a href="javascript:void(0);" onclick="showLogin();" title="<?=translate("Área reservada");?>"><?php if($session->logged): echo translate("Minha Conta"); else: echo translate("Área reservada"); endif;?></a></div>
- 21. <div id="carrinhoImgz">
- FICHEIRO: /home/transfrio/views/Cms/header.tpl
- LINHA: 16
- 12. <div class="barra_control_banners"><img src="/media/images/barra_control_banners.png" border="0" alt="" title=""/></div>
- 13. <div id="menu">
- 14. <div class="esq">
- 15. <div style="margin-bottom:33px;"><a href="<?php echo $this->link('/'); ?>"><?php echo $this->img('/media/images/logo.png', array('alt'=>translate('TransFrio'), 'title'=>translate('TransFrio'), 'border' =>0))?></a></div>
- 16. <div id="menutop"><?= $this->component('/cms/menu-list2/pai_id/0/id_selected/'.$id); ?></div>
- 17. </div>
- 18. <div class="dir" align="right">
- 19. <div style="float:left; padding-left:120px; padding-top:12px;">
- 20. <div id="botao_left"><a href="javascript:void(0);" onclick="showLogin();" title="<?=translate("Área reservada");?>"><?php if($session->logged): echo translate("Minha Conta"); else: echo translate("Área reservada"); endif;?></a></div>
- 21. <div id="carrinhoImgz">
- FICHEIRO: /home/transfrio/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: /home/transfrio/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: /home/transfrio/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: /home/transfrio/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: /home/transfrio/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: /home/transfrio/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: /home/transfrio/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: /home/transfrio/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: /home/transfrio/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: /home/transfrio/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: /home/transfrio/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: /home/transfrio/views/base.tpl
- LINHA: 116
- 112. </head>
- 113. <body>
- 114. <div id="container">
- 115. <div id="header">
- 116. <?php echo $this->component('/cms/header'); ?>
- 117. </div>
- 118. <div id="content">
- 119. <div id="content_int_base">
- 120. <div class="esq">
- 121. <div id="menutit"><?=$session->catname?></div>
- FICHEIRO: /home/transfrio/views/base.tpl
- LINHA: 116
- 112. </head>
- 113. <body>
- 114. <div id="container">
- 115. <div id="header">
- 116. <?php echo $this->component('/cms/header'); ?>
- 117. </div>
- 118. <div id="content">
- 119. <div id="content_int_base">
- 120. <div class="esq">
- 121. <div id="menutit"><?=$session->catname?></div>
- FICHEIRO: /home/transfrio/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: /home/transfrio/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: /home/transfrio/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: /home/transfrio/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: /home/transfrio/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: /home/transfrio/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: /home/transfrio/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: /home/transfrio/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: /home/transfrio/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: /home/transfrio/library/Goweb/Application.php
- LINHA: 428
- 424. }
- 425.
- 426. public function runApp(){
- 427. $frontController = Zend_Controller_Front::getInstance();
- 428. $frontController->dispatch();
- 429. }
- 430. }
- FICHEIRO: /home/transfrio/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. */