APPPATH/classes/View/Template.php [ 218 ]
213 public function top_categories()
214 {
215 $category = new Model_Category(0, TRUE);
216 $items = $category->Children();
217 $rq = Request::current();
218 if (Route::name($rq->route()) === 'aldis_category')
219 {
220 foreach($items as $item)
221 {
222 if ($item->CategoryID == $rq->param('object'))
223 {
-
SYSPATH/classes/Kohana/Core.php [ 0 ] » Kohana_Corestaticshutdown_handler()
1 <?php defined('SYSPATH') OR die('No direct script access.'); 2 /** 3 * Contains the most low-level helpers methods in Kohana: 4 * 5 * - Environment initialization
-
/srv/www/kolleldirshu.com/vendor/mustache/mustache/src/Mustache/Context.php [ 138 ] » View_Templatedynamictop_categories()
133 private function findVariableInStack($id, array $stack) 134 { 135 for ($i = count($stack) - 1; $i >= 0; $i--) { 136 if (is_object($stack[$i]) && !$stack[$i] instanceof Closure) { 137 if (method_exists($stack[$i], $id)) { 138 return $stack[$i]->$id(); 139 } elseif (isset($stack[$i]->$id)) { 140 return $stack[$i]->$id; 141 } 142 } elseif (is_array($stack[$i]) && array_key_exists($id, $stack[$i])) { 143 return $stack[$i][$id];
-
/srv/www/kolleldirshu.com/vendor/mustache/mustache/src/Mustache/Context.php [ 78 ] » Mustache_ContextdynamicfindVariableInStack(arguments)
id
string(16) "'top_categories'"
stack
string(187) "array (0 => class View_Error_404 { private ${View_Template}:_layout = 'torahdownloads'; public $show_sidebar = TRUE; public $sid …"
73 * 74 * @return mixed Variable value, or '' if not found 75 */ 76 public function find($id) 77 { 78 return $this->findVariableInStack($id, $this->stack); 79 } 80 81 /** 82 * Find a 'dot notation' variable in the Context stack. 83 *
-
APPPATH/cache/mustache/__Mustache_9e41da50c6461aa5cb6cadcea54b1e66.php [ 16 ] » Mustache_Contextdynamicfind(arguments)
id
string(16) "'top_categories'"
11 12 $buffer .= $indent . '<ul class="nav nav-pills nav-stacked"> 13 '; 14 $buffer .= $indent . ' '; 15 // 'top_categories' section 16 $buffer .= $this->sectionD5be60dcd72f2e56a4e23e73dc80ae85($context, $indent, $context->find('top_categories')); 17 $buffer .= ' 18 '; 19 $buffer .= $indent . '</ul>'; 20 21 return $buffer;
-
APPPATH/cache/mustache/__Mustache_ed12cce6efe4bd74584081c98330280b.php [ 293 ] » __Mustache_9e41da50c6461aa5cb6cadcea54b1e66dynamicrenderInternal(arguments)
context
string(96) "class Mustache_Context { private $stack = array (0 => class View_Error_404 { ... }, 1 => TRUE) }"
indent
string(10) "'\t\t\t\t'"
288 foreach ($values as $value) { 289 $context->push($value); 290 $buffer .= $indent . ' <div class="span4"> 291 '; 292 if ($partial = $this->mustache->loadPartial('leftnav')) { 293 $buffer .= $partial->renderInternal($context, ' '); 294 } 295 $buffer .= $indent . ' 296 '; 297 $buffer .= $indent . ' <div height="150px" style="text-align: center;margin-top:15px" > 298 ';
-
APPPATH/cache/mustache/__Mustache_ed12cce6efe4bd74584081c98330280b.php [ 144 ] » __Mustache_ed12cce6efe4bd74584081c98330280bdynamicsectionA4a2617e8cb2b91cf946b1a312210631(arguments)
context
string(96) "class Mustache_Context { private $stack = array (0 => class View_Error_404 { ... }, 1 => TRUE) }"
indent
string(2) "''"
value
string(4) "TRUE"
139 $buffer .= $indent . ' <div class="row"> 140 '; 141 $buffer .= $indent . ' 142 '; 143 // 'show_sidebar' section 144 $buffer .= $this->sectionA4a2617e8cb2b91cf946b1a312210631($context, $indent, $context->find('show_sidebar')); 145 $buffer .= $indent . ' <div class="'; 146 // 'show_sidebar' section 147 $buffer .= $this->section529408b1485b3aca489363d4643032f6($context, $indent, $context->find('show_sidebar')); 148 // 'show_sidebar' inverted section 149 $value = $context->find('show_sidebar');
-
/srv/www/kolleldirshu.com/vendor/mustache/mustache/src/Mustache/Template.php [ 67 ] » __Mustache_ed12cce6efe4bd74584081c98330280bdynamicrenderInternal(arguments)
context
string(96) "class Mustache_Context { private $stack = array (0 => class View_Error_404 { ... }, 1 => TRUE) }"
indent
string(0) ""
62 * 63 * @return string Rendered template 64 */ 65 public function render($context = array()) 66 { 67 return $this->renderInternal($this->prepareContextStack($context)); 68 } 69 70 /** 71 * Internal rendering method implemented by Mustache Template concrete subclasses. 72 *
-
MODPATH/kostache/classes/Kohana/Kostache/Layout.php [ 43 ] » Mustache_Templatedynamicrender(arguments)
context
string(163) "class View_Error_404 { private ${View_Template}:_layout = 'torahdownloads'; public $show_sidebar = TRUE; public $sidebar = NULL; …"
38 array( 39 Kostache_Layout::CONTENT_PARTIAL => parent::render($class, $template) 40 ) 41 ); 42 43 return $this->_engine->loadTemplate($this->_layout)->render($class); 44 } 45 46 }
-
APPPATH/classes/View/Template.php [ 249 ] » Kohana_Kostache_Layoutdynamicrender(arguments)
class
string(163) "class View_Error_404 { private ${View_Template}:_layout = 'torahdownloads'; public $show_sidebar = TRUE; public $sidebar = NULL; …"
template
string(4) "NULL"
244 else 245 { 246 $renderer = Kostache::factory(); 247 } 248 249 return $renderer->render($this, $template); 250 } 251 252 /** 253 * Render a mustache template that is not associated with a specific ViewModel, 254 * but does use View_Template logic.
-
APPPATH/classes/HTTP/Exception/404.php [ 18 ] » View_Templatedynamicrender(arguments)
template
string(0) ""
13 { 14 $response = Response::factory(); 15 $view = new View_Error_404; 16 $view->title = 'Page Not Found'; 17 $response->status(404); 18 return $response->body($view->render()); 19 } 20 }
-
SYSPATH/classes/Kohana/Request.php [ 976 ] » HTTP_Exception_404dynamicget_response()
971 if ( ! $this->_route instanceof Route) 972 { 973 return HTTP_Exception::factory(404, 'Unable to find a route to match the URI: :uri', array( 974 ':uri' => $this->_uri, 975 ))->request($this) 976 ->get_response(); 977 } 978 979 if ( ! $this->_client instanceof Request_Client) 980 { 981 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array(
-
DOCROOT/index.php [ 128 ] » Kohana_Requestdynamicexecute()
123 /** 124 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 125 * If no source is specified, the URI will be automatically detected. 126 */ 127 echo Request::factory(TRUE, NULL, FALSE) 128 ->execute() 129 ->send_headers(TRUE) 130 ->body(); 131 } 132
-
DOCROOT/index.php [ 0 ] » {main}()
1 <?php 2 3 /** 4 * The directory in which your application specific resources are located. 5 * The application directory must contain the bootstrap.php file.