APPPATH/classes/view.php [ 21 ]
16 if (false===$path) {
17 $path = Kohana::find_file($dir, $file);
18 }
19
20 if (false===$path) {
21 throw new View_Exception('The requested view :file could not be found', array(
22 ':file' => $file,
23 ':directory' => isset($dir_tpl) ? $dir_tpl : $dir,
24 ));
25 }
26
-
SYSPATH/classes/kohana/view.php [ 137 ] » View->set_filename(arguments)
0
string(17) "view_lulu_article"
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(17) "view_lulu_article"
1
array(5) ( "logged_err" => integer 0 "is_logged" => integer 0 "text" => string(2191) "<!-- start --><div class="alr-text"><p><img src="http://picz.ro/pictures/a31238b8c60706274f2213b28efcd875.jpg" alt="" width="400 …" "login" => object View(2)
{ protected _file => string(91) "/var/www/www-root/data/www/datingsite-free.com/application/views/template_st/view_login.php" protected _data => array(0) }
"messages" => array(0) )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/lulu.php [ 156 ] » Kohana_View::factory(arguments)
0
string(17) "view_lulu_article"
1
array(5) ( "logged_err" => integer 0 "is_logged" => integer 0 "text" => string(2191) "<!-- start --><div class="alr-text"><p><img src="http://picz.ro/pictures/a31238b8c60706274f2213b28efcd875.jpg" alt="" width="400 …" "login" => object View(2)
{ protected _file => string(91) "/var/www/www-root/data/www/datingsite-free.com/application/views/template_st/view_login.php" protected _data => array(0) }
"messages" => array(0) )151 Model_Funcs::$text_dir .= 'home/'; 152 153 // $this->header_data = Model_Funcs::generate_meta_data($this->header_data, null, array($this, 'before_replace')); 154 155 $this->template->header = View::factory('view_header', $this->header_data); 156 $this->template->content = View::factory('view_lulu_article', $content_data); 157 $this->template->footer = View::factory('view_footer'); 158 } 159 160 161
-
{PHP internal call} » Controller_Lulu->action_article()
-
SYSPATH/classes/kohana/request/client/internal.php [ 118 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Lulu(17)
{ public template => object View(2)
{ protected _file => string(78) "/var/www/www-root/data/www/datingsite-free.com/application/views/view_main.php" protected _data => array(13) ( "title" => string(0) "" "meta_keywords" => string(0) "" "meta_description" => string(0) "" "meta_copyright" => string(0) "" "head" => string(0) "" "header" => object View(2)
public menu => array(0) public statuses => array(3) ( "all" => integer 0 "approved" => integer 0 "pending" => integer 0 ) protected ses => object Session_Native(7){ protected _file => string(92) "/var/www/www-root/data/www/datingsite-free.com/application/views/template_st/view_header.php" protected _data => array(6) ( "title" => string(22) "Element, CORSAN cloths" "meta_kw" => string(0) "" "meta_desc" => string(0) "" "head" => string(0) "" "is_logged" => integer 0 "login" => object View(2)
"breadcrumbs" => array(0) "menu" => array(0) "content" => string(0) "" "sidebar" => string(0) "" "footer" => string(0) "" "styles" => array(0) "scripts" => array(0) ) }{ protected _file => string(91) "/var/www/www-root/data/www/datingsite-free.com/application/views/template_st/view_login.php" protected _data => array(0) }
) }{ private msg_statuses => array(2) ( 0 => string(2) "ok" 1 => string(5) "error" ) private msg_default_status => string(5) "error" protected _name => string(7) "session" protected _lifetime => integer 0 protected _encrypted => bool FALSE protected _data => array(0) protected _destroyed => bool FALSE }
protected auth => object Auth_ORM(5){ protected is_admin => integer -1 protected is_moderator => integer -1 protected is_copywriter => integer -1 protected _session => object Session_Native(7)
protected user => NULL protected errors => array(0) protected log => NULL private msg_statuses => array(2) ( 0 => string(2) "ok" 1 => string(5) "error" ) private msg_default_status => string(5) "error" public styles => array(0) public scripts => array(0) public header_data => array(6) ( "title" => string(22) "Element, CORSAN cloths" "meta_kw" => string(0) "" "meta_desc" => string(0) "" "head" => string(0) "" "is_logged" => integer 0 "login" => object View(2){ private msg_statuses => array(2) ( 0 => string(2) "ok" 1 => string(5) "error" ) private msg_default_status => string(5) "error" protected _name => string(7) "session" protected _lifetime => integer 0 protected _encrypted => bool FALSE protected _data => array(0) protected _destroyed => bool FALSE }
protected _config => object Config_Group(7){ public driver => string(3) "orm" public hash_method => string(6) "sha256" public hash_key => string(63) "bbgnWFL3SEfgmrxU9BiUh4R5hhGVWQGO2fQVOBMkY7kC5gHfDDYnTxZxVpFCU7A" public lifetime => integer 1209600 public session_type => string(6) "native" public session_key => string(9) "auth_user" public users => array(0) }
}{ protected _file => string(91) "/var/www/www-root/data/www/datingsite-free.com/application/views/template_st/view_login.php" protected _data => array(0) }
) public content_data => array(4) ( "logged_err" => integer 0 "is_logged" => integer 0 "login" => object View(2){ protected _file => string(91) "/var/www/www-root/data/www/datingsite-free.com/application/views/template_st/view_login.php" protected _data => array(0) }
"current_user" => integer 0 ) public auto_render => bool TRUE public request => object Request(21){ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
public response => object Response(5){ protected _callback => NULL protected _uri => string(27) "m/articles/view/(<article>)" protected _regex => array(1) ( "article" => string(2) ".*" ) protected _defaults => array(2) ( "controller" => string(4) "lulu" "action" => string(7) "article" ) protected _route_regex => string(43) "#^m/articles/view/(?:(?P<article>.*))?$#uDi" }
protected _routes => NULL protected _response => object Response(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
protected _header => object HTTP_Header(0){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "lulu" protected _action => string(7) "article" protected _uri => string(37) "m/articles/view/Element-CORSAN-cloths" protected _external => bool FALSE protected _params => array(1) ( "article" => string(21) "Element-CORSAN-cloths" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(2){ protected _previous_environment => NULL protected _cache => NULL }
public _injected_routes => array(0) }{ protected _status => integer 200 protected _header => object HTTP_Header(0)
}{ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }113 throw new HTTP_Exception_404('The requested URL :uri was not found on this server.', 114 array(':uri' => $request->uri())); 115 } 116 117 $method = $class->getMethod('action_'.$action); 118 $method->invoke($controller); 119 120 // Execute the "after action" method 121 $class->getMethod('after')->invoke($controller); 122 } 123 catch (Exception $e)
-
SYSPATH/classes/kohana/request/client.php [ 64 ] » Kohana_Request_Client_Internal->execute_request(arguments)
0
object Request(21)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _callback => NULL protected _uri => string(27) "m/articles/view/(<article>)" protected _regex => array(1) ( "article" => string(2) ".*" ) protected _defaults => array(2) ( "controller" => string(4) "lulu" "action" => string(7) "article" ) protected _route_regex => string(43) "#^m/articles/view/(?:(?P<article>.*))?$#uDi" }
protected _routes => NULL protected _response => object Response(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
protected _header => object HTTP_Header(0){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "lulu" protected _action => string(7) "article" protected _uri => string(37) "m/articles/view/Element-CORSAN-cloths" protected _external => bool FALSE protected _params => array(1) ( "article" => string(21) "Element-CORSAN-cloths" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(2){ protected _previous_environment => NULL protected _cache => NULL }
public _injected_routes => array(0) }59 public function execute(Request $request) 60 { 61 if ($this->_cache instanceof HTTP_Cache) 62 return $this->_cache->execute($this, $request); 63 64 return $this->execute_request($request); 65 } 66 67 /** 68 * Processes the request passed to it and returns the response from 69 * the URI resource identified.
-
SYSPATH/classes/kohana/request.php [ 1138 ] » Kohana_Request_Client->execute(arguments)
0
object Request(21)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _callback => NULL protected _uri => string(27) "m/articles/view/(<article>)" protected _regex => array(1) ( "article" => string(2) ".*" ) protected _defaults => array(2) ( "controller" => string(4) "lulu" "action" => string(7) "article" ) protected _route_regex => string(43) "#^m/articles/view/(?:(?P<article>.*))?$#uDi" }
protected _routes => NULL protected _response => object Response(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
protected _header => object HTTP_Header(0){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "lulu" protected _action => string(7) "article" protected _uri => string(37) "m/articles/view/Element-CORSAN-cloths" protected _external => bool FALSE protected _params => array(1) ( "article" => string(21) "Element-CORSAN-cloths" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(2){ protected _previous_environment => NULL protected _cache => NULL }
public _injected_routes => array(0) }1133 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 1134 ':uri' => $this->_uri, 1135 )); 1136 } 1137 1138 return $this->_client->execute($this); 1139 } 1140 1141 /** 1142 * Returns whether this request is the initial request Kohana received. 1143 * Can be used to test for sub requests.
-
DOCROOT/index.php [ 109 ] » Kohana_Request->execute()
104 /** 105 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 106 * If no source is specified, the URI will be automatically detected. 107 */ 108 echo Request::factory() 109 ->execute() 110 ->send_headers() 111 ->body();