| PHP | /usr/local/share/ZF/library/Zend/Db/Statement/Pdo.php, line 238 |
|---|---|
| URI | GET /robots.txt |
| Arg | Name | Value |
|---|---|---|
| 0 | $params |
array ( |
{ /* * Simple case - no query profiler to manage. */ if ($this->_queryId === null) { return $this->_execute($params); } /* * Do the same thing, but with query profiler * management before and after the execute.| Arg | Name | Value |
|---|---|---|
| 0 | $params |
array ( |
$bind = array($bind); } // prepare and execute the statement with profiling $stmt = $this->prepare($sql); $stmt->execute($bind); // return the results embedded in the prepared statement object $stmt->setFetchMode($this->_fetchMode); return $stmt; }| Arg | Name | Value |
|---|---|---|
| 0 | $sql |
'SELECT * FROM custom_pages_pics WHERE galerija = 1 AND id_cp = ORDER BY id_slika'
|
| 1 | $bind |
array ( |
} } } try { return parent::query($sql, $bind); } catch (PDOException $e) { /** * @see Zend_Db_Statement_Exception */ require_once 'Zend/Db/Statement/Exception.php';| Arg | Name | Value |
|---|---|---|
| 0 | $sql |
'SELECT * FROM custom_pages_pics WHERE galerija = 1 AND id_cp = ORDER BY id_slika'
|
| 1 | $bind |
array ( |
public function fetchAll($sql, $bind = array(), $fetchMode = null) { if ($fetchMode === null) { $fetchMode = $this->_fetchMode; } $stmt = $this->query($sql, $bind); $result = $stmt->fetchAll($fetchMode); return $result; } /**| Arg | Name | Value |
|---|---|---|
| 0 | $sql |
'SELECT * FROM custom_pages_pics WHERE galerija = 1 AND id_cp = ORDER BY id_slika'
|
$results = $this->_db->fetchRow("SELECT * FROM ".$this->_layout_name." WHERE urlIdentifier = \"/kozmetika-spodaj\" AND language = '".$locale->getLanguage()."'"); $this->view->KozmetikaSpodaj = $results['content1']; } public function _getContentImages($id) { $results = $this->_db->fetchAll('SELECT * FROM custom_pages_pics WHERE galerija = 1 AND id_cp = '.$id.' ORDER BY id_slika'); return $results; } protected function _centerMenu() { $locale = Zend_Registry::get('locale');| Arg | Name | Value |
|---|---|---|
| 0 | $id |
NULL
|
$this->view->currentPath = $path; $registry = Zend_Registry::getInstance(); $results = $this->_db->fetchRow('SELECT * FROM '.$this->_layout_name.' WHERE urlIdentifier = "'.$path.'"'); $this->view->contentImages = $this->_getContentImages($results['id_cp']); $CSSdecoded = Zend_Json::decode($results['layout'], Zend_Json::TYPE_OBJECT); $BannerDecoded = Zend_Json::decode($results['banner'], Zend_Json::TYPE_OBJECT); { $registry = Zend_Registry::getInstance(); $this->_db = $registry['dbPeskovnik']; // get right layout data $this->_getLayoutData(); // get center menu links $this->_centerMenu(); // set default doctype // Note: $this->getRequest, $this->getResponse() and $this->getInvokeArgs() (also action helpers) // are not available until after the construct is run, but you can use $request, $response and $invokeArgs. parent::__construct($request, $response, $invokeArgs); // Your stuff below here... to run after init(), but before self::preDispatch() $this->_afterInit(); } /** * Get latest news */ private function _getLatestNews()| Arg | Name | Value |
|---|---|---|
| 0 | $request |
Zend_Controller_Request_Http::__set_state(array(
'_paramSources' =>
array (
0 => '_GET',
1 => '_POST',
),
'_requestUri' => '/robots.txt',
'_baseUrl' => '',
'_basePath' => NULL,
'_pathInfo' => '/robots.txt',
'_params' =>
array (
'controller' => 'robots.txt',
'action' => 'index',
'module' => 'default',
'error_handler' =>
ArrayObject::__set_state(array(
'exception' =>
Zend_Controller_Dispatcher_Exception::__set_state(array(
'message' => 'Invalid controller specified (robots.txt)',
'string' => '',
'code' => 0,
'file' => '/usr/local/share/ZF/library/Zend/Controller/Dispatcher/Standard.php',
'line' => 249,
'trace' =>
array (
0 =>
array (
'file' => '/usr/local/share/ZF/library/Zend/Controller/Front.php',
'line' => 914,
'function' => 'dispatch',
'class' => 'Zend_Controller_Dispatcher_Standard',
'type' => '->',
'args' =>
array (
0 =>
Zend_Controller_Request_Http::__set_state(array(
'_paramSources' =>
array (
0 => '_GET',
1 => '_POST',
),
'_requestUri' => '/robots.txt',
'_baseUrl' => '',
'_basePath' => NULL,
'_pathInfo' => '/robots.txt',
'_params' =>
array (
'controller' => 'robots.txt',
'action' => 'index',
'module' => 'default',
'error_handler' =>
ArrayObject::__set_state(array(
'exception' =>
Zend_Controller_Dispatcher_Exception::__set_state(array(
'message' => 'Invalid controller specified (robots.txt)',
'string' => '',
'code' => 0,
'file' => '/usr/local/share/ZF/library/Zend/Controller/Dispatcher/Standard.php',
'line' => 249,
'trace' =>
array (
0 =>
array (
'file' => '/usr/local/share/ZF/library/Zend/Controller/Front.php',
'line' => 914,
'function' => 'dispatch',
'class' => 'Zend_Controller_Dispatcher_Standard',
'type' => '->',
'args' =>
array (
0 =>
Zend_Controller_Request_Http::__set_state(array(
'_paramSources' =>
array (
0 => '_GET',
1 => '_POST',
),
'_requestUri' => '/robots.txt',
'_baseUrl' => '',
'_basePath' => NULL,
'_pathInfo' => '/robots.txt',
'_params' =>
array (
'controller' => 'robots.txt',
'action' => 'index',
'module' => 'default',
'error_handler' =>
ArrayObject::__set_state(array(
'exception' =>
Zend_Controller_Dispatcher_Exception::__set_state(array(
'message' => 'Invalid controller specified (robots.txt)',
'string' => '',
'code' => 0,
'file' => '/usr/local/share/ZF/library/Zend/Controller/Dispatcher/Standard.php',
'line' => 249,
'trace' =>
array (
0 =>
array (
'file' => '/usr/local/share/ZF/library/Zend/Controller/Front.php',
'line' => 914,
'function' => 'dispatch',
'class' => 'Zend_Controller_Dispatcher_Standard',
'type' => '->',
'args' =>
array (
0 =>
Zend_Controller_Request_Http::__set_state(array(
|