SYSPATH/classes/kohana/view.php [ 252 ]
247 */
248 public function set_filename($file)
249 {
250 if (($path = Kohana::find_file('views', $file)) === FALSE)
251 {
252 throw new Kohana_View_Exception('The requested view :file could not be found', array(
253 ':file' => $file,
254 ));
255 }
256
257 // Store the file path locally
-
SYSPATH/classes/kohana/view.php [ 137 ] » Kohana_View->set_filename(arguments)
0
string(11) "pages/o-nas"
132 */ 133 public function __construct($file = NULL, array $data = NULL) 134 { 135 if ($file !== NULL) 136 { 137 $this->set_filename($file); 138 } 139 140 if ($data !== NULL) 141 { 142 // Add the values to the current data
-
SYSPATH/classes/kohana/view.php [ 30 ] » Kohana_View->__construct(arguments)
0
string(11) "pages/o-nas"
1
NULL
25 * @param array array of values 26 * @return View 27 */ 28 public static function factory($file = NULL, array $data = NULL) 29 { 30 return new View($file, $data); 31 } 32 33 /** 34 * Captures the output that is generated when a view is included. 35 * The view data will be extracted to make local variables. This method
-
APPPATH/classes/controller/pages.php [ 7 ] » Kohana_View::factory(arguments)
0
string(11) "pages/o-nas"
2 3 class Controller_Pages extends Controller_Abstract { 4 5 public function action_show($id) 6 { 7 $page = View::factory('pages/'.$id)->render(); 8 9 View::bind_global('page', $page); 10 11 $title = $desc = ''; 12
-
{PHP internal call} » Controller_Pages->action_show(arguments)
0
string(5) "o-nas"
-
SYSPATH/classes/kohana/request.php [ 1196 ] » ReflectionMethod->invokeArgs(arguments)
0
object Controller_Pages(6)
{ public template => object View(2)
{ protected _file => string(91) "/home/tmsport/domains/bigsportkibic.pl/public_html/application/views/layout/application.php" protected _data => array(0) }
public auto_render_action => bool TRUE public disable_messages => bool FALSE public session => object Session_Native(5){ protected _name => string(7) "session" protected _lifetime => integer 0 protected _encrypted => bool FALSE protected _data => array(0) protected _destroyed => bool FALSE }
public auto_render => bool TRUE public request => object Request(9){ public route => object Route(4)
}{ protected _uri => string(9) "<id>.html" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(5) "pages" "action" => string(4) "show" ) protected _route_regex => string(32) "#^(?P<id>[^/.,;?\n]++)\.html$#uD" }
public status => integer 500 public response => string(0) "" public headers => array(1) ( "Content-Type" => string(24) "text/html; charset=utf-8" ) public directory => string(0) "" public controller => string(5) "pages" public action => string(4) "show" public uri => string(10) "o-nas.html" protected _params => array(1) ( "id" => string(5) "o-nas" ) }1
array(1) ( "id" => string(5) "o-nas" )
1191 1192 // Determine the action to use 1193 $action = empty($this->action) ? Route::$default_action : $this->action; 1194 1195 // Execute the main action with the parameters 1196 $class->getMethod('action_'.$action)->invokeArgs($controller, $this->_params); 1197 1198 // Execute the "after action" method 1199 $class->getMethod('after')->invoke($controller); 1200 } 1201 catch (Exception $e)
-
APPPATH/bootstrap.php [ 131 ] » Kohana_Request->execute()
126 /** 127 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 128 * If no source is specified, the URI will be automatically detected. 129 */ 130 echo Request::instance() 131 ->execute() 132 ->send_headers() 133 ->response; 134 135 // try { 136 // $request = Request::instance();
-
DOCROOT/index.php [ 118 ] » require(arguments)
0
string(21) "APPPATH/bootstrap.php"
113 // Load empty core extension 114 require SYSPATH.'classes/kohana'.EXT; 115 } 116 117 // Bootstrap the application 118 require APPPATH.'bootstrap'.EXT;