/data/sse/vendor/zendframework/zendframework1/library/Zend/Controller/Plugin/Broker.php
public function postDispatch(Zend_Controller_Request_Abstract $request)
{
foreach ($this->_plugins as $plugin) {
try {
$plugin->postDispatch($request);
} catch (Exception $e) {
if (Zend_Controller_Front::getInstance()->throwExceptions()) {
throw new Zend_Controller_Exception($e->getMessage() . $e->getTraceAsString(), $e->getCode(), $e);
} else {
$this->getResponse()->setException($e);
/data/sse/vendor/buxus/core/buxus/includes/classes/buxus_page_properties_base.class.php
tblPages
WHERE
page_id = :page_id";
$properties = BuxusDB::get()->fetchRow($query, array(':page_id' => $page_id));
if (empty($properties))
{ // The page does not exist
throw new Exception('The page with ID [' . $page_id . '] does not exist.');
}
else
/data/sse/vendor/buxus/core/buxus/includes/classes/buxus_page_properties_base.class.php
*
* @param int $page_id
* @return array
*/
public function readPageProperties($page_id)
{
// Nacitanie zakladnych vlastnosti
$properties = $this->readGeneralProperties($page_id);
if (! empty($properties))
/data/sse/vendor/buxus/core/buxus/includes/classes/buxus_page_properties_base.class.php
$this->page_id = (int) $page_id;
// Read properties
$cache = BuxusPagePropertiesCacheFactory::getInstance();
$tmp = $cache->get($this->page_id);
if (! is_array($tmp))
{ // The data was not in cache
$this->properties = self::readPageProperties($this->page_id);
$cache->set($this->page_id, array('properties' => $this->properties, 'defined_properties_tags' => $this->defined_properties_tags));
}
/data/sse/buxus/application/models/App/Page/PageFactory.php
*
* @return FinalPage
*/
public static function get($id, $page_type_id = null, $not_from_cache = false)
{
if ($not_from_cache || !isset(self::$pages[$id])) {
if (is_null($page_type_id)) {
$page = new FinalPage($id);
$page_type_id = $page->getProperty('page_type_id');
}
/data/sse/buxus/application/controllers/IndexController.php
$list_base->getItem($item['page_id'])->setSelected();
}
}
}
$this->view->footer_secondary_menu = $list_base;
$this->view->cookies = PageFactory::get(PageIds::getCookies());
}
/data/sse/vendor/zendframework/zendframework1/library/Zend/Controller/Action.php
// @see ZF-7496
if (!($this->getResponse()->isRedirect())) {
// preDispatch() didn't change the action, so we can continue
if ($this->getInvokeArg('useCaseSensitiveActions') || in_array($action, $this->_classMethods)) {
if ($this->getInvokeArg('useCaseSensitiveActions')) {
trigger_error('Using case sensitive actions without word separators is deprecated; please do not rely on this "feature"');
}
$this->$action();
} else {
$this->__call($action, array());
/data/sse/vendor/zendframework/zendframework1/library/Zend/Controller/Dispatcher/Standard.php
$disableOb = $this->getParam('disableOutputBuffering');
$obLevel = ob_get_level();
if (empty($disableOb)) {
ob_start();
}
try {
$controller->dispatch($action);
} catch (Exception $e) {
// Clean output buffer on error
/data/sse/vendor/zendframework/zendframework1/library/Zend/View/Helper/Action.php
$this->request->setParams($params)
->setModuleName($module)
->setControllerName($controller)
->setActionName($action)
->setDispatched(true);
$this->dispatcher->dispatch($this->request, $this->response);
// reset the viewRenderer object to it's original state
/data/sse/vendor/zendframework/zendframework1/library/Zend/View/Abstract.php
// is the helper already loaded?
$helper = $this->getHelper($name);
// call the helper method
return call_user_func_array(
array($helper, $name),
$args
);
}
/data/sse/buxus/application/layouts/main.phtml
<?php if (GetProperty(C_PROPERTY_TAG_CONTROLLER_NAME) != 'mailinglist' && !PH::isLangVersion()): ?>
<?php echo $this->partial('/partials/footer-mailing.phtml',array('page' => $this->page)) ?>
<?php else: ?>
<div class="hp-mailing__outer hp-mailing__outer--empty"></div>
<?php endif; ?>
<?php echo $this->action('footer','index'); ?>
/data/sse/buxus/application/layouts/main.phtml
<?php if (GetProperty(C_PROPERTY_TAG_CONTROLLER_NAME) != 'mailinglist' && !PH::isLangVersion()): ?>
<?php echo $this->partial('/partials/footer-mailing.phtml',array('page' => $this->page)) ?>
<?php else: ?>
<div class="hp-mailing__outer hp-mailing__outer--empty"></div>
<?php endif; ?>
<?php echo $this->action('footer','index'); ?>
/data/sse/vendor/zendframework/zendframework1/library/Zend/View.php
* @param string The view script to execute.
*/
protected function _run()
{
if ($this->_useViewStream && $this->useStreamWrapper()) {
include 'zend.view://' . func_get_arg(0);
} else {
include func_get_arg(0);
}
}
/data/sse/vendor/zendframework/zendframework1/library/Zend/View/Abstract.php
public function render($name)
{
// find the script file name using the parent private method
$this->_file = $this->_script($name);
unset($name); // remove $name from local scope
ob_start();
$this->_run($this->_file);
return $this->_filter(ob_get_clean()); // filter output
/data/sse/vendor/zendframework/zendframework1/library/Zend/Layout.php
} else {
$view->setScriptPath($path);
}
} elseif (null !== ($path = $this->getViewBasePath())) {
$view->addBasePath($path, $this->_viewBasePrefix);
}
return $view->render($name);
}
}
/data/sse/vendor/zendframework/zendframework1/library/Zend/Layout/Controller/Plugin/Layout.php
}
$layout->assign($content);
$fullContent = null;
$obStartLevel = ob_get_level();
try {
$fullContent = $layout->render();
$response->setBody($fullContent);
} catch (Exception $e) {
/data/sse/vendor/zendframework/zendframework1/library/Zend/Controller/Plugin/Broker.php
* @param Zend_Controller_Request_Abstract $request
* @return void
*/
public function postDispatch(Zend_Controller_Request_Abstract $request)
{
foreach ($this->_plugins as $plugin) {
try {
$plugin->postDispatch($request);
} catch (Exception $e) {
if (Zend_Controller_Front::getInstance()->throwExceptions()) {
/data/sse/vendor/zendframework/zendframework1/library/Zend/Controller/Front.php
}
$this->_response->setException($e);
}
/**
* Notify plugins of dispatch completion
*/
$this->_plugins->postDispatch($this->_request);
} while (!$this->_request->isDispatched());
} catch (Exception $e) {
/data/sse/vendor/buxus/core/buxus/includes/generate_functions.php
$view = \Zend_Layout::getMvcInstance()->getView();
$module_view_helper_paths = \Buxus\Module\BuxusModule::helperPaths();
foreach ($module_view_helper_paths as $helper_path) {
$view->addHelperPath($helper_path['path'], $helper_path['prefix']);
}
$front->dispatch($request);
//\Buxus\DebugBar::getInstance()->stopMeasure('mvc_render');
/data/sse/buxus/generate_page.php
}
$_REQUEST['page_id'] = $page_id;
$_GET['page_id'] = $page_id;
\Buxus\DebugBar::getInstance()->info('page_id: ' . $page_id, 'buxus');
\Buxus\DebugBar::getInstance()->stopMeasure('seo_url_resolver');
\Buxus\DebugBar::getInstance()->startMeasure('generate_page', 'GeneratePage()');
GeneratePage($page_id);