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) "miltongato/"
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) "miltongato/"
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
-
SYSPATH/classes/kohana/controller/template.php [ 31 ] » Kohana_View::factory(arguments)
0
string(11) "miltongato/"
26 public function before() 27 { 28 if ($this->auto_render === TRUE) 29 { 30 // Load the template 31 $this->template = View::factory($this->template); 32 } 33 34 return parent::before(); 35 } 36
-
{PHP internal call} » Kohana_Controller_Template->before()
-
SYSPATH/classes/kohana/request.php [ 1214 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Artigo(3)
{ public template => string(11) "miltongato/" public auto_render => bool TRUE public request => object Request(9)
{ public route => object Route(4)
}{ protected _uri => string(26) "artigo(/<id>)(/<seo>.html)" protected _regex => array(0) protected _defaults => array(4) ( "controller" => string(6) "artigo" "action" => bool FALSE "id" => bool FALSE "seo" => bool FALSE ) protected _route_regex => string(71) "#^artigo(?:/(?P<id>[^/.,;?\n]++))?(?:/(?P<seo>[^/.,;?\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(6) "artigo" public action => bool FALSE public uri => string(44) "artigo/159/recuperacao-da-taxa-siscomex.html" protected _params => array(2) ( "id" => string(3) "159" "seo" => string(28) "recuperacao-da-taxa-siscomex" ) }1209 1210 // Create a new instance of the controller 1211 $controller = $class->newInstance($this); 1212 1213 // Execute the "before action" method 1214 $class->getMethod('before')->invoke($controller); 1215 1216 // Determine the action to use 1217 $action = empty($this->action) ? Route::$default_action : $this->action; 1218 1219 // Execute the main action with the parameters
-
APPPATH/bootstrap.php [ 1185 ] » Kohana_Request->execute()
1180 /** 1181 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 1182 * If no source is specified, the URI will be automatically detected. 1183 */ 1184 echo Request::instance() 1185 ->execute() 1186 ->send_headers() 1187 ->response; 1188 }
-
DOCROOT/index.php [ 147 ] » require(arguments)
0
string(21) "APPPATH/bootstrap.php"
142 // Load empty core extension 143 require SYSPATH.'classes/kohana'.EXT; 144 } 145 146 // Bootstrap the application 147 require APPPATH.'bootstrap'.EXT;