SYSPATH/classes/kohana/route.php [ 362 ]
357 list($key, $param) = $match;
358
359 if ( ! isset($params[$param]))
360 {
361 // Ungrouped parameters are required
362 throw new Kohana_Exception('Required route parameter not passed: :param',
363 array(':param' => $param));
364 }
365
366 $uri = str_replace($key, $params[$param], $uri);
367 }
-
APPPATH/views/press/medialibrary/photoview.php [ 8 ] » Kohana_Route->uri(arguments)
0
array(2) ( "id" => NULL "language" => string(0) "" )
3 4 <?= view::factory("press/_nav")->render(); ?> 5 6 <div class="tools"> 7 <p class="thumbs"> 8 <?= html::anchor( Route::get('press_medialibrary_photolisting')->uri(array("id" => $photo->press_album_id, "language" => helper::get_language_for_url())) ,__('View Thumbnails')) ?> 9 </p> 10 <p class="back"> 11 <?= html::anchor( Route::get('press_medialibrary_photos')->uri(array("language" => helper::get_language_for_url())) ,__('All Photo Albums')) ?> 12 </p> 13 </div>
-
SYSPATH/classes/kohana/view.php [ 61 ] » include(arguments)
0
string(64) "/var/www/html/application/views/press/medialibrary/photoview.php"
56 ob_start(); 57 58 try 59 { 60 // Load the view within the current scope 61 include $kohana_view_filename; 62 } 63 catch (Exception $e) 64 { 65 // Delete the output buffer 66 ob_end_clean();
-
SYSPATH/classes/kohana/view.php [ 343 ] » Kohana_View::capture(arguments)
0
string(64) "/var/www/html/application/views/press/medialibrary/photoview.php"
1
array(0)
338 { 339 throw new Kohana_View_Exception('You must set the file to use within your view before rendering'); 340 } 341 342 // Combine local and global data and capture the output 343 return View::capture($this->_file, $this->_data); 344 } 345 346 } // End View
-
SYSPATH/classes/kohana/view.php [ 228 ] » Kohana_View->render()
223 */ 224 public function __toString() 225 { 226 try 227 { 228 return $this->render(); 229 } 230 catch (Exception $e) 231 { 232 // Display the exception message 233 Kohana::exception_handler($e);
-
APPPATH/views/layouts/default.php [ 260 ] » Kohana_View->__toString()
255 <div class="col-thin"> 256 <?= View::factory("layouts/default/_header")->render(); ?> 257 <? if (isset($header)) echo $header; ?> 258 <?php echo view::factory('section/tout_sponsors_ar_en')->set('section', ORM::factory('section', 3))->render(); ?> 259 </div> 260 <? if (isset($top)) echo $top; ?> 261 </div> 262 263 <? if (isset($main)) echo $main; ?> 264 265
-
SYSPATH/classes/kohana/view.php [ 61 ] » include(arguments)
0
string(51) "/var/www/html/application/views/layouts/default.php"
56 ob_start(); 57 58 try 59 { 60 // Load the view within the current scope 61 include $kohana_view_filename; 62 } 63 catch (Exception $e) 64 { 65 // Delete the output buffer 66 ob_end_clean();
-
SYSPATH/classes/kohana/view.php [ 343 ] » Kohana_View::capture(arguments)
0
string(51) "/var/www/html/application/views/layouts/default.php"
1
array(1) ( "content" => object View(2)
{ protected _file => string(64) "/var/www/html/application/views/press/medialibrary/photoview.php" protected _data => array(0) }
)338 { 339 throw new Kohana_View_Exception('You must set the file to use within your view before rendering'); 340 } 341 342 // Combine local and global data and capture the output 343 return View::capture($this->_file, $this->_data); 344 } 345 346 } // End View
-
MODPATH/kexts/classes/kohana/controller/app.php [ 27 ] » Kohana_View->render()
22 $this->view->set_filename($this->layout); 23 $this->view->content = View::factory($this->template); 24 } else { 25 $this->view->set_filename($this->template); 26 } 27 $this->request->response = $this->view->render(); 28 return parent::after(); 29 } 30 31 protected function render_template($template) { 32 $this->template = $template;
-
APPPATH/classes/controller/application.php [ 58 ] » Kohana_Controller_App->after()
53 if ($lang == "") { 54 $lang = "en"; 55 } 56 $this->assign('lang', $lang); 57 58 parent::after(); 59 } 60 61 public function require_member($redirect_to=null) { 62 if (!isset($_SESSION['member'])) { 63 if($redirect_to == null) {
-
{PHP internal call} » Controller_Application->after()
-
SYSPATH/classes/kohana/request.php [ 1049 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Press_Medialibrary(17)
{ protected _page_title => string(5) "Press" protected _site_title => string(19) "Doha Film Institute" protected _meta_description => NULL protected _meta_keywords => string(109) "doha, film, institute, qumra, ajyal, production, festival, screening, education, film talk, videos, financing" protected _meta_robots => string(5) "index" protected _body_css_class => string(0) "" protected _main_css_class => string(0) "" protected _current_menu => string(0) "" protected layout => string(15) "layouts/default" protected current_user => NULL protected _is_qatar => integer 0 protected _ignore_redirections => bool FALSE protected template => string(28) "press/medialibrary/photoview" protected session => object Session_Native(5)
{ protected _name => string(7) "session" protected _lifetime => integer 0 protected _encrypted => bool FALSE protected _data => array(1) ( "lang" => string(2) "en" ) protected _destroyed => bool FALSE }
protected _before_filter => NULL public request => object Request(9){ public route => object Route(4)
public view => object View(2){ protected _uri => string(46) "(<language>/)press/medialibrary/photoview/<id>" protected _regex => array(1) ( "language" => string(2) "ar" ) protected _defaults => array(3) ( "directory" => string(5) "press" "controller" => string(12) "medialibrary" "action" => string(9) "photoview" ) protected _route_regex => string(77) "#^(?:(?P<language>ar)/)?press/medialibrary/photoview/(?P<id>[^/.,;?\n]++)$#uD" }
public status => integer 200 public response => string(0) "" public headers => array(1) ( "Content-Type" => string(24) "text/html; charset=utf-8" ) public directory => string(5) "press" public controller => string(12) "medialibrary" public action => string(9) "photoview" public uri => string(32) "press/medialibrary/photoview/855" protected _params => array(2) ( "language" => string(0) "" "id" => string(3) "855" ) }{ protected _file => string(51) "/var/www/html/application/views/layouts/default.php" protected _data => array(1) ( "content" => object View(2)
}{ protected _file => string(64) "/var/www/html/application/views/press/medialibrary/photoview.php" protected _data => array(0) }
) }1044 1045 // Execute the main action with the parameters 1046 $class->getMethod('action_'.$action)->invokeArgs($controller, $this->_params); 1047 1048 // Execute the "after action" method 1049 $class->getMethod('after')->invoke($controller); 1050 } 1051 catch (Exception $e) 1052 { 1053 // Restore the previous request 1054 Request::$current = $previous;
-
APPPATH/bootstrap.php [ 104 ] » Kohana_Request->execute()
99 100 101 if (getenv('DFI_ENV') == 'production') { 102 try { 103 $request = Request::instance(); 104 $request->execute(); 105 } catch (Kohana_Exception404 $e) { 106 $request = Request::factory('errors/404')->execute(); 107 Kohana::$log->add(Kohana::ERROR, "Kohana_Exception404: ".$e); 108 } catch (Kohana_Exception403 $e) { 109 $request = Request::factory('errors/403')->execute();
-
DOCROOT/index.php [ 137 ] » require(arguments)
0
string(39) "/var/www/html/application/bootstrap.php"
132 // Load empty core extension 133 require SYSPATH.'classes/kohana'.EXT; 134 } 135 136 // Bootstrap the application 137 require APPPATH.'bootstrap'.EXT;