The second group training of FE

08-05-2017
  • FICHEIRO: E:\bctl\library\Goweb\Db\Model\Row.php
  • LINHA:    160
  • MENSAGEM: A coluna "data_fim" não existe no objecto "Goweb_Db_Model_Row".
  •  156.     public function __get($col) {
  •  157.         if (array_key_exists($col$this->_cols)) {
  •  158.             return $this->_cols[$col];
  •  159.         }
  •  160.         throw new Goweb_Exception('A coluna "' $col '" não existe no objecto "Goweb_Db_Model_Row".');
  •  161.     }
  •  162.
  •  163.     /**
  •  164.      * Atribui o valor a uma coluna
  •  165.      *

  • FICHEIRO: E:\bctl\views\Agenda\detail.tpl
  • LINHA:    19
  •  15.         <span style="font-size:10px; font-weight:bold;">
  •  16.             <?php if($agenda->data_inicio){ ?>
  •  17.                 <?php echo $this->dateFormat('d-m-Y'$agenda->data_inicio); ?>
  •  18.             <?php ?>
  •  19.             <?php if($agenda->data_inicio && $agenda->data_fim){ ?>
  •  20.                 <?php echo ' , '?>
  •  21.             <?php ?>
  •  22.             <?php if($agenda->data_fim){ ?>
  •  23.                 <?php echo $this->dateFormat('d-m-Y'$agenda->data_fim); ?>
  •  24.             <?php ?>    

  • FICHEIRO: E:\bctl\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: E:\bctl\library\Zend\View\Abstract.php
  • LINHA:    888
  •  884.         $this->_file $this->_script($name);
  •  885.         unset($name); // remove $name from local scope
  •  886.
  •  887.         ob_start();
  •  888.         $this->_run($this->_file);
  •  889.
  •  890.         return $this->_filter(ob_get_clean()); // filter output
  •  891.     }
  •  892.
  •  893.     /**

  • FICHEIRO: E:\bctl\application\Cms\GenericController.php
  • LINHA:    2252
  •  2248.          */
  •  2249.         $session Goweb::registry('session');
  •  2250.         $view->id $session->lastId;
  •  2251.         $view->titulo $titulo;
  •  2252.         $view->output $view->render($template);
  •  2253.         $view->setViewsPath(VIEWS_PATH);
  •  2254.         if ($print)
  •  2255.             $canal 'print.tpl';
  •  2256.         $viewRenderer->setRender(str_replace('.' $viewRenderer->getViewSuffix(), ''$canal));
  •  2257.     }

  • FICHEIRO: E:\bctl\application\Agenda\GenericController.php
  • LINHA:    723
  •  719.                                             'detail.tpl',
  •  720.                                             'Agenda',
  •  721.                                             'agenda-detail-' $this->_agendaModel->id,
  •  722.                                             ' ' $this->_agendaModel->titulo,
  •  723.                 $this->_getParam('print'));
  •  724.                 $this->_helper->viewRenderer->setRender($this->_canal);
  •  725.             } else {
  •  726.                 $this->_helper->viewRenderer->setRender('detail');
  •  727.             }
  •  728.         } else {

  • FICHEIRO: E:\bctl\application\Agenda\GenericController.php
  • LINHA:    182
  •  178.                 
  •  179.                 $this->view->array_hreflangs $array_hreflangs;
  •  180.                 
  •  181.                 $this->_setParam('id'$this->_agendaModel->id);
  •  182.                 return $this->detailAction();
  •  183.             }
  •  184.             
  •  185.             $categoriaModel Goweb::getModelInstance('Agenda_Model_Categoria''db'false);
  •  186.             
  •  187.             if ($categoriaModel->colExists('url') && $pathInfo && ($categoriaModel->findBy('url'$pathInfo) || $categoriaModel->findBy('url'substr($pathInfo1)))){

  • FICHEIRO: E:\bctl\library\Zend\Controller\Action.php
  • LINHA:    133
  •  129.         $this->setRequest($request)
  •  130.              ->setResponse($response)
  •  131.              ->_setInvokeArgs($invokeArgs);
  •  132.         $this->_helper = new Zend_Controller_Action_HelperBroker($this);
  •  133.         $this->init();
  •  134.     }
  •  135.
  •  136.     /**
  •  137.      * Initialize object
  •  138.      *

  • FICHEIRO: E:\bctl\library\Goweb\Controller\Action.php
  • LINHA:    86
  •  82.         if(!$response$response = new Zend_Controller_Response_Http();
  •  83.         if(!$invokeArgs$invokeArgs = array();
  •  84.         $this->_auth Zend_Auth::getInstance();
  •  85.         $response->setHeader('Content-Type''text/html; charset=' CHARSET);
  •  86.         parent::__construct($request$response$invokeArgs);
  •  87.         $this->view->assign('baseUrl'str_replace('/admin'''str_replace('/index.php'''$this->_request->getBaseUrl())));
  •  88.         $this->_helper->viewRenderer->setNoController(true);
  •  89.         $this->_session Goweb::registry('session');
  •  90.         $this->view->session $this->_session
  •  91.         if($this->_getParam('lang') && $this->_getParam('lang') != $this->_session->lang && is_array($this->_session->langs) && in_array($this->_getParam('lang'), $this->_session->langs)){

  • FICHEIRO: E:\bctl\library\Zend\Controller\Dispatcher\Standard.php
  • LINHA:    281
  •  277.         /**
  •  278.          * Instantiate controller with request, response, and invocation
  •  279.          * arguments; throw exception if it's not an action controller
  •  280.          */
  •  281.         $controller = new $moduleClassName($request$this->getResponse(), $this->getParams());
  •  282.         if (!($controller instanceof Zend_Controller_Action_Interface) &&
  •  283.             !($controller instanceof Zend_Controller_Action)) {
  •  284.             require_once 'Zend/Controller/Dispatcher/Exception.php';
  •  285.             throw new Zend_Controller_Dispatcher_Exception(
  •  286.                 'Controller "' $moduleClassName '" is not an instance of Zend_Controller_Action_Interface'

  • FICHEIRO: E:\bctl\library\Zend\Controller\Front.php
  • LINHA:    954
  •  950.                 /**
  •  951.                  * Dispatch request
  •  952.                  */
  •  953.                 try {
  •  954.                     $dispatcher->dispatch($this->_request$this->_response);
  •  955.                 } catch (Exception $e) {
  •  956.                     if ($this->throwExceptions()) {
  •  957.                         throw $e;
  •  958.                     }
  •  959.                     $this->_response->setException($e);

  • FICHEIRO: E:\bctl\library\Goweb\Application.php
  • LINHA:    449
  •  445.     }
  •  446.
  •  447.     public function runApp(){
  •  448.         $frontController Zend_Controller_Front::getInstance();
  •  449.         $frontController->dispatch();
  •  450.     }
  •  451. }

  • FICHEIRO: E:\bctl\public_html\index.php
  • LINHA:    54
  •  50. $application->initPainel();
  •  51. $lang = isset($_GET['lang']) ? $_GET['lang'] : null;
  •  52. $application->initLanguage($langtruefalse);
  •  53. $application->initLanguageAdmin($langtruetrue);
  •  54. $application->runApp();
  •  55.
  •  56.
  •  57. /**
  •  58.  * Efectua a traducao de uma string.
  •  59.  */