MODPATH/sport/classes/Module/Event/Odds.php [ 137 ]
132 }
133 }
134
135 }
136 if (isset($fakes['X'])) {
137 $fakes[2]['percent'] = 100 - $fakes[1]['percent'] - $fakes['X']['percent'];
138 $fakes[2]['fake'] = 100 - $fakes[1]['fake'] - $fakes['X']['fake'];
139 }
140
141 $this->view->predictions = $fakes;
142
-
MODPATH/sport/classes/Module/Event/Odds.php [ 137 ] » Kohana_Core::error_handler()
132 } 133 } 134 135 } 136 if (isset($fakes['X'])) { 137 $fakes[2]['percent'] = 100 - $fakes[1]['percent'] - $fakes['X']['percent']; 138 $fakes[2]['fake'] = 100 - $fakes[1]['fake'] - $fakes['X']['fake']; 139 } 140 141 $this->view->predictions = $fakes; 142
-
MODPATH/_internal/module/classes/Kohana/Module.php [ 46 ] » Module_Event_Odds->_initialize()
41 $this->view->_show = TRUE; 42 $this->view->_init_data = $init_data; 43 $this->view->_params = $this->_params; 44 $this->view->folded = isset($_COOKIE['folded_'.$this->name]) && $_COOKIE['folded_'.$this->name] ? 1 : 0; 45 $this->_main_placeholder = $this->view->_main_placeholder = isset($this->_init_data['placeholder_id']) && $this->_init_data['placeholder_id'] == 3 && isset($this->_init_data['first']) && $this->_init_data['first']; 46 $this->_initialize(); 47 } 48 49 protected function _initialize() { 50 $this->view->set(array( 51 'data' => $this->data()
-
MODPATH/_internal/module/classes/Kohana/Module.php [ 26 ] » Kohana_Module->__construct()
21 $value = ucfirst($value); 22 } 23 $module = implode('_', $module); 24 $data['id'] = $data['module_name']; 25 26 return new $module($data); 27 } 28 29 public function __construct($init_data = NULL) { 30 $this->name = strtolower($init_data['module_name']); 31 $this->_init_data = $init_data;
-
APPPATH/classes/Controller/Template.php [ 207 ] » Kohana_Module::factory()
202 if (strtolower($module['module_name']) !== 'banner') { 203 $first = FALSE; 204 } 205 if (!($cache = Cache::instance()->get($module_name, NULL, (bool) $module['cache_user'])) || isset($_GET['d3bug'])) { 206 if ($module['module_name']) { 207 $cache = Module::factory($module['module_name'], $module); 208 } else { 209 if ($module['panel']) { 210 $cache = Twig::factory('snippets/module.twig', array('title' => $module['name'], 'inc' => $module['content'])); 211 } else { 212 $cache = Twig::factory('_from_string.twig', array('inc' => $module['content']));
-
APPPATH/classes/Controller/Template.php [ 153 ] » Controller_Template->_init()
148 $this->template->placeholders = array(); 149 if (Kohana::$profiling) { 150 $this->template->_show_profiler = TRUE; 151 $this->template->_profiler = View::factory('profiler/stats'); 152 } 153 $this->_init(); 154 } 155 } 156 157 protected function _init() { 158 HTML::add_style($this->_styles);
-
SYSPATH/classes/Kohana/Controller.php [ 69 ] » Controller_Template->before()
64 * @return Response 65 */ 66 public function execute() 67 { 68 // Execute the "before action" method 69 $this->before(); 70 71 // Determine the action to use 72 $action = 'action_'.$this->request->action(); 73 74 // If the action doesn't exist, it's a 404
-
{PHP internal call} » Kohana_Controller->execute()
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke()
92 93 // Create a new instance of the controller 94 $controller = $class->newInstance($request, $response); 95 96 // Run the controller's execute() method 97 $response = $class->getMethod('execute')->invoke($controller); 98 99 if ( ! $response instanceof Response) 100 { 101 // Controller failed to return a Response. 102 throw new Kohana_Exception('Controller failed to return a Response');
-
SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request()
109 $orig_response = $response = Response::factory(array('_protocol' => $request->protocol())); 110 111 if (($cache = $this->cache()) instanceof HTTP_Cache) 112 return $cache->execute($this, $request, $response); 113 114 $response = $this->execute_request($request, $response); 115 116 // Execute response callbacks 117 foreach ($this->header_callbacks() as $header => $callback) 118 { 119 if ($response->headers($header))
-
APPPATH/classes/Request.php [ 144 ] » Kohana_Request_Client->execute()
139 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 140 ':uri' => $this->_uri, 141 )); 142 } 143 144 return $this->_client->execute($this); 145 } 146 147 public function fill() 148 { 149 if ( ! $this->_external)
-
DOCROOT/index.php [ 360 ] » Request->execute()
355 */ 356 357 //try 358 //{ 359 echo Request::factory() 360 ->execute() 361 ->send_headers() 362 ->body(); 363 //} 364 //catch (Kohana_HTTP_Exception_404 $e) 365 //{