| 1 |
plik /home/koligrafia/ftp/strony/air.koligrafia.pl/library/Zend/Db/Statement/Pdo.php w linijce 234 :
228: ...
229: } else {
230: return $this->_stmt->execute();
231: }
232: } catch (PDOException $e) {
233: require_once 'Zend/Db/Statement/Exception.php';
234: throw new Zend_Db_Statement_Exception($e->getMessage(), (int) $e->getCode(), $e); 235: }
236: }
237:
238: /**
239: * Fetches a row from the result set.
240: ...
|
| 2 |
plik /home/koligrafia/ftp/strony/air.koligrafia.pl/library/Zend/Db/Statement.php w linijce 300 :
294: ...
295: {
296: /*
297: * Simple case - no query profiler to manage.
298: */
299: if ($this->_queryId === null) {
300: return $this->_execute($params); 301: }
302:
303: /*
304: * Do the same thing, but with query profiler
305: * management before and after the execute.
306: ...
|
| 3 |
plik /home/koligrafia/ftp/strony/air.koligrafia.pl/library/Zend/Db/Adapter/Abstract.php w linijce 479 :
473: ...
474: $bind = array($bind);
475: }
476:
477: // prepare and execute the statement with profiling
478: $stmt = $this->prepare($sql);
479: $stmt->execute($bind); 480:
481: // return the results embedded in the prepared statement object
482: $stmt->setFetchMode($this->_fetchMode);
483: return $stmt;
484: }
485: ...
|
| 4 |
plik /home/koligrafia/ftp/strony/air.koligrafia.pl/library/Zend/Db/Adapter/Pdo/Abstract.php w linijce 238 :
232: ...
233: }
234: }
235: }
236:
237: try {
238: return parent::query($sql, $bind); 239: } catch (PDOException $e) {
240: /**
241: * @see Zend_Db_Statement_Exception
242: */
243: require_once 'Zend/Db/Statement/Exception.php';
244: ...
|
| 5 |
plik /home/koligrafia/ftp/strony/air.koligrafia.pl/library/Zend/Db/Adapter/Pdo/Mysql.php w linijce 169 :
163: ...
164: if ($schemaName) {
165: $sql = 'DESCRIBE ' . $this->quoteIdentifier("$schemaName.$tableName", true);
166: } else {
167: $sql = 'DESCRIBE ' . $this->quoteIdentifier($tableName, true);
168: }
169: $stmt = $this->query($sql); 170:
171: // Use FETCH_NUM so we are not dependent on the CASE attribute of the PDO connection
172: $result = $stmt->fetchAll(Zend_Db::FETCH_NUM);
173:
174: $field = 0;
175: ...
|
| 6 |
plik /home/koligrafia/ftp/strony/air.koligrafia.pl/library/Zend/Db/Table/Abstract.php w linijce 835 :
829: ...
830: // If $this has no metadata cache or metadata cache misses
831: if (null === $this->_metadataCache || !($metadata = $this->_metadataCache->load($cacheId))) {
832: // Metadata are not loaded from cache
833: $isMetadataFromCache = false;
834: // Fetch metadata from the adapter's describeTable() method
835: $metadata = $this->_db->describeTable($this->_name, $this->_schema); 836: // If $this has a metadata cache, then cache the metadata
837: if (null !== $this->_metadataCache && !$this->_metadataCache->save($metadata, $cacheId)) {
838: trigger_error('Failed saving metadata to metadataCache', E_USER_NOTICE);
839: }
840: }
841: ...
|
| 7 |
plik /home/koligrafia/ftp/strony/air.koligrafia.pl/library/Zend/Db/Table/Abstract.php w linijce 857 :
851: ...
852: * @return array
853: */
854: protected function _getCols()
855: {
856: if (null === $this->_cols) {
857: $this->_setupMetadata(); 858: $this->_cols = array_keys($this->_metadata);
859: }
860: return $this->_cols;
861: }
862:
863: ...
|
| 8 |
plik /home/koligrafia/ftp/strony/air.koligrafia.pl/library/Zend/Db/Table/Abstract.php w linijce 897 :
891: ...
892: } else if (isset($this->_primary[0])) {
893: array_unshift($this->_primary, null);
894: unset($this->_primary[0]);
895: }
896:
897: $cols = $this->_getCols(); 898: if (! array_intersect((array) $this->_primary, $cols) == (array) $this->_primary) {
899: require_once 'Zend/Db/Table/Exception.php';
900: throw new Zend_Db_Table_Exception("Primary key column(s) ("
901: . implode(',', (array) $this->_primary)
902: . ") are not columns in this table ("
903: ...
|
| 9 |
plik /home/koligrafia/ftp/strony/air.koligrafia.pl/library/Zend/Db/Table/Abstract.php w linijce 982 :
976: ...
977: * @return mixed
978: * @throws Zend_Db_Table_Exception
979: */
980: public function info($key = null)
981: {
982: $this->_setupPrimaryKey(); 983:
984: $info = array(
985: self::SCHEMA => $this->_schema,
986: self::NAME => $this->_name,
987: self::COLS => $this->_getCols(),
988: ...
|
| 10 |
plik /home/koligrafia/ftp/strony/air.koligrafia.pl/library/Zend/Db/Table/Select.php w linijce 100 :
94: ...
95: * @return Zend_Db_Select This Zend_Db_Select object.
96: */
97: public function setTable(Zend_Db_Table_Abstract $table)
98: {
99: $this->_adapter = $table->getAdapter();
100: $this->_info = $table->info(); 101: $this->_table = $table;
102:
103: return $this;
104: }
105:
106: ...
|
| 11 |
plik /home/koligrafia/ftp/strony/air.koligrafia.pl/library/Zend/Db/Table/Select.php w linijce 78 :
72: ...
73: */
74: public function __construct(Zend_Db_Table_Abstract $table)
75: {
76: parent::__construct($table->getAdapter());
77:
78: $this->setTable($table); 79: }
80:
81: /**
82: * Return the table that created this select object
83: *
84: ...
|
| 12 |
plik /home/koligrafia/ftp/strony/air.koligrafia.pl/library/Zend/Db/Table/Abstract.php w linijce 1018 :
1012: ...
1013: * @return Zend_Db_Table_Select
1014: */
1015: public function select($withFromPart = self::SELECT_WITHOUT_FROM_PART)
1016: {
1017: require_once 'Zend/Db/Table/Select.php';
1018: $select = new Zend_Db_Table_Select($this); 1019: if ($withFromPart == self::SELECT_WITH_FROM_PART) {
1020: $select->from($this->info(self::NAME), Zend_Db_Table_Select::SQL_WILDCARD, $this->info(self::SCHEMA));
1021: }
1022: return $select;
1023: }
1024: ...
|
| 13 |
plik /home/koligrafia/ftp/strony/air.koligrafia.pl/library/Zend/Db/Table/Abstract.php w linijce 1326 :
1320: ...
1321: * @return Zend_Db_Table_Rowset_Abstract The row results per the Zend_Db_Adapter fetch mode.
1322: */
1323: public function fetchAll($where = null, $order = null, $count = null, $offset = null)
1324: {
1325: if (!($where instanceof Zend_Db_Table_Select)) {
1326: $select = $this->select(); 1327:
1328: if ($where !== null) {
1329: $this->_where($select, $where);
1330: }
1331:
1332: ...
|
| 14 |
plik /home/koligrafia/ftp/strony/air.koligrafia.pl/library/Koli/Model/Sites.php w linijce 90 :
84: ...
85: $where_clause = array('menu = -1');
86: if ($active_clause) {
87: $where_clause[] = 'active = 1';
88: }
89: Koli_Tools::localize_clause($where_clause);
90: $res = $this->fetchAll($where_clause, 'created desc', $limit)->toArray(); 91: // print_r($res);die();
92: return $res;
93: }
94:
95: public function getRealArticles($limit = 0, $active_clause = true, $startNo=0) {
96: ...
|
| 15 |
plik /home/koligrafia/ftp/strony/air.koligrafia.pl/application/modules/default/controllers/SiteController.php w linijce 50 :
44: ...
45: }
46: }else if($link_name=="nowynumer"){
47: $this->nowynumerAction();
48: }else{
49: //$this->view->innumber = $this->_bips->getForFirstPage(array($this->_bips->getNewestNumber()),5 );
50: $this->view->news = $this->_bips->getNews(6); 51: $this->view->setContent("start");
52: }
53: }
54: public function sitemapAction() {
55: $structure = $this->_bips->getWholeActualStructure($this->_request->getControllerName());
56: ...
|
| 16 |
plik /home/koligrafia/ftp/strony/air.koligrafia.pl/library/Zend/Controller/Action.php w linijce 516 :
510: ...
511: // preDispatch() didn't change the action, so we can continue
512: if ($this->getInvokeArg('useCaseSensitiveActions') || in_array($action, $this->_classMethods)) {
513: if ($this->getInvokeArg('useCaseSensitiveActions')) {
514: trigger_error('Using case sensitive actions without word separators is deprecated; please do not rely on this "feature"');
515: }
516: $this->$action(); 517: } else {
518: $this->__call($action, array());
519: }
520: }
521: $this->postDispatch();
522: ...
|
| 17 |
plik /home/koligrafia/ftp/strony/air.koligrafia.pl/library/Zend/Controller/Dispatcher/Standard.php w linijce 295 :
289: ...
290: if (empty($disableOb)) {
291: ob_start();
292: }
293:
294: try {
295: $controller->dispatch($action); 296: } catch (Exception $e) {
297: // Clean output buffer on error
298: $curObLevel = ob_get_level();
299: if ($curObLevel > $obLevel) {
300: do {
301: ...
|
| 18 |
plik /home/koligrafia/ftp/strony/air.koligrafia.pl/library/Zend/Controller/Front.php w linijce 954 :
948: ...
949:
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);
960: ...
|
| 19 |
plik /home/koligrafia/ftp/strony/air.koligrafia.pl/html/index.php w linijce 163 :
157: ...
158: }
159: }
160: return $translate;
161: }
162:
163: $front->dispatch(); 164:
|