| 1 |
plik /home/users/sokol/public_html/library/Zend/Cache.php w linijce 209 :
203: ...
204: */
205: public static function throwException($msg, Exception $e = null)
206: {
207: // For perfs reasons, we use this dynamic inclusion
208: require_once 'Zend/Cache/Exception.php';
209: throw new Zend_Cache_Exception($msg, 0, $e); 210: }
211:
212: /**
213: * Normalize frontend and backend names to allow multiple words TitleCased
214: *
215: ...
|
| 2 |
plik /home/users/sokol/public_html/library/Zend/Cache/Frontend/File.php w linijce 120 :
114: ...
115: } else {
116: $mtime = false;
117: }
118:
119: if (!$this->_specificOptions['ignore_missing_master_files'] && !$mtime) {
120: Zend_Cache::throwException('Unable to read master_file : ' . $masterFile); 121: }
122:
123: $this->_masterFile_mtimes[$i] = $mtime;
124: $this->_specificOptions['master_files'][$i] = $masterFile;
125: if ($i === 0) { // to keep a compatibility
126: ...
|
| 3 |
plik /home/users/sokol/public_html/library/Zend/Cache/Frontend/File.php w linijce 143 :
137: ...
138: * @deprecated
139: * @param string $masterFile the complete path and name of the master file
140: */
141: public function setMasterFile($masterFile)
142: {
143: $this->setMasterFiles(array($masterFile)); 144: }
145:
146: /**
147: * Public frontend to set an option
148: *
149: ...
|
| 4 |
plik /home/users/sokol/public_html/library/Zend/Cache/Frontend/File.php w linijce 159 :
153: ...
154: * @return void
155: */
156: public function setOption($name, $value)
157: {
158: if ($name == 'master_file') {
159: $this->setMasterFile($value); 160: } else if ($name == 'master_files') {
161: $this->setMasterFiles($value);
162: } else {
163: parent::setOption($name, $value);
164: }
165: ...
|
| 5 |
plik /home/users/sokol/public_html/library/Zend/Cache/Frontend/File.php w linijce 92 :
86: ...
87: * @return void
88: */
89: public function __construct(array $options = array())
90: {
91: while (list($name, $value) = each($options)) {
92: $this->setOption($name, $value); 93: }
94: if (!isset($this->_specificOptions['master_files'])) {
95: Zend_Cache::throwException('master_files option must be set');
96: }
97: }
98: ...
|
| 6 |
plik /home/users/sokol/public_html/library/Zend/Cache.php w linijce 195 :
189: ...
190: self::throwException("file $file not found in include_path");
191: }
192: require_once $file;
193: }
194: }
195: return new $frontendClass($frontendOptions); 196: }
197:
198: /**
199: * Throw an exception
200: *
201: ...
|
| 7 |
plik /home/users/sokol/public_html/library/Zend/Cache.php w linijce 103 :
97: ...
98: } else {
99: self::throwException('backend must be a backend name (string) or an object which implements Zend_Cache_Backend_Interface');
100: }
101: }
102: if (is_string($frontend)) {
103: $frontendObject = self::_makeFrontend($frontend, $frontendOptions, $customFrontendNaming, $autoload); 104: } else {
105: if (is_object($frontend)) {
106: $frontendObject = $frontend;
107: } else {
108: self::throwException('frontend must be a frontend name (string) or an object');
109: ...
|
| 8 |
plik /home/users/sokol/public_html/library/Koli/Tools.php w linijce 309 :
303: ...
304: 'master_file' => self::_cache_dir . $dir . '/cache_master_file',
305: 'lifetime' => $lifetime,
306: 'automatic_serialization' => true
307: ), array(
308: 'cache_dir' => self::_cache_dir . $dir
309: )); 310: $output = $cache->load($name);
311:
312: return $output === false ? false : unserialize(base64_decode($output));
313: }
314:
315: ...
|
| 9 |
plik /home/users/sokol/public_html/library/Koli/Model/Structure.php w linijce 147 :
141: ...
142: return FALSE;
143: }
144:
145: public function getMenuStructure($startId=0, $active=0) {
146:
147: $readyItems = Koli_Tools::getCache($this->_cache_name . $startId . "_" . $active); 148: if ($readyItems == FALSE) {
149: $items = $this->getAllByParent($startId, $active);
150: if (count($items) > 0) {
151: $readyItems = array();
152: foreach ($items as $key => $item) {
153: ...
|
| 10 |
plik /home/users/sokol/public_html/application/Main_Controller.php w linijce 29 :
23: ...
24: $this->view->today = $weekdays[date('w', $now)] . ', ' . date('d', $now) . ' ' . $months[date('n', $now) - 1] . ' ' . date('Y', $now);
25:
26: $menu_config = new Zend_Config_Ini('../configs/menu.ini', 'menu');
27: $menu_config = $menu_config->toArray();
28: $this->view->topMenuData = $this->_structure->getAllByParent(intval($menu_config['menu']['topMenu']), 1);
29: $this->view->bottomMenuData = $this->_structure->getMenuStructure(intval($menu_config['menu']['bottomMenu'])); 30: $this->view->footerMenuData = $this->_structure->getMenuStructure(intval($menu_config['menu']['footerMenu']));
31: $this->view->mainMenuData = $this->_structure->getMenuStructure(intval($menu_config['menu']['mainMenu']));
32: $this->view->extraMenuData = $this->_structure->getMenuStructure(intval($menu_config['menu']['extraMenu']));
33: $this->view->title = $this->_settings->getValue("defaultTitle");
34: //$this->view->meta=$this->_settings->getValue("defaultMeta");
35: ...
|
| 11 |
plik /home/users/sokol/public_html/library/Zend/Controller/Action.php w linijce 502 :
496: ...
497: public function dispatch($action)
498: {
499: // Notify helpers of action preDispatch state
500: $this->_helper->notifyPreDispatch();
501:
502: $this->preDispatch(); 503: if ($this->getRequest()->isDispatched()) {
504: if (null === $this->_classMethods) {
505: $this->_classMethods = get_class_methods($this);
506: }
507:
508: ...
|
| 12 |
plik /home/users/sokol/public_html/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: ...
|
| 13 |
plik /home/users/sokol/public_html/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: ...
|
| 14 |
plik /home/users/sokol/public_html/www/index.php w linijce 166 :
160: ...
161:
162: function __($str){
163: return $str;
164: }
165:
166: $front->dispatch();
|