MODPATH/cache/classes/Kohana/Cache/File.php [ 135 ]
130 // Return default value
131 return $default;
132 } else {
133 // Open the file and parse data
134 $created = $file->getMTime();
135 $data = $file->openFile();
136 $lifetime = (int)$data->fgets();
137
138 // If we're at the EOF at this point, corrupted!
139 if ($data->eof()) {
140 throw new Cache_Exception(__METHOD__ . ' corrupted cache file!');
-
MODPATH/cache/classes/Kohana/Cache/File.php [ 135 ] » SplFileInfo->openFile( )
130 // Return default value 131 return $default; 132 } else { 133 // Open the file and parse data 134 $created = $file->getMTime(); 135 $data = $file->openFile(); 136 $lifetime = (int)$data->fgets(); 137 138 // If we're at the EOF at this point, corrupted! 139 if ($data->eof()) { 140 throw new Cache_Exception(__METHOD__ . ' corrupted cache file!'); -
APPPATH/classes/ORM.php [ 15 ] » Kohana_Cache_File->get( arguments )
0string(20) "table_columns_widget"10 } 11 12 Cache::instance()->set('table_columns_' . $this->_object_name, $this->_db->list_columns($this->table_name())); 13 14 // Proxy to database 15 return $this->_db->list_columns($this->table_name()); 16 } 17 } -
MODPATH/orm/classes/Kohana/ORM.php [ 418 ] » ORM->list_columns( )
413 if (isset(ORM::$_column_cache[$this->_object_name])) { 414 // Use cached column information 415 $this->_table_columns = ORM::$_column_cache[$this->_object_name]; 416 } else { 417 // Grab column information from database 418 $this->_table_columns = $this->list_columns(); 419 420 // Load column cache 421 ORM::$_column_cache[$this->_object_name] = $this->_table_columns; 422 } 423 } -
MODPATH/orm/classes/Kohana/ORM.php [ 369 ] » Kohana_ORM->reload_columns( )
364 foreach ($init as $property => $value) { 365 $this->{$property} = $value; 366 } 367 368 // Load column information 369 $this->reload_columns(); 370 371 // Clear initial model state 372 $this->clear(); 373 } 374 -
MODPATH/orm/classes/Kohana/ORM.php [ 256 ] » Kohana_ORM->_initialize( )
251 * 252 * @param mixed $id Parameter for find or object to load 253 */ 254 public function __construct($id = NULL) 255 { 256 $this->_initialize(); 257 258 if ($id !== NULL) { 259 if (is_array($id)) { 260 foreach ($id as $column => $value) { 261 // Passing an array of column => values -
MODPATH/orm/classes/Kohana/ORM.php [ 48 ] » Kohana_ORM->__construct( arguments )
0NULL
43 public static function factory($model, $id = NULL) 44 { 45 // Set class name 46 $model = 'Model_' . $model; 47 48 return new $model($id); 49 } 50 51 /** 52 * "Has one" relationships 53 * @var array -
MODPATH/orm/classes/Kohana/ORM.php [ 620 ] » Kohana_ORM::factory( arguments )
0string(6) "Widget"615 616 $model->where($col, '=', $val)->find(); 617 618 return $this->_related[$column] = $model; 619 } elseif (isset($this->_has_many[$column])) { 620 $model = ORM::factory($this->_has_many[$column]['model']); 621 622 if (isset($this->_has_many[$column]['through'])) { 623 // Grab has_many "through" relationship table 624 $through = $this->_has_many[$column]['through']; 625 -
MODPATH/orm/classes/Kohana/ORM.php [ 574 ] » Kohana_ORM->get( arguments )
0string(7) "widgets"569 * @param string $column Column name 570 * @return mixed 571 */ 572 public function __get($column) 573 { 574 return $this->get($column); 575 } 576 577 /** 578 * Handles getting of column 579 * Override this method to add custom get behavior -
APPPATH/classes/Widget.php [ 27 ] » Kohana_ORM->__get( arguments )
0string(7) "widgets"22 if (!$widgets_area->loaded()) { 23 //throw new App_Exception('Нет подобной области'); 24 return false; 25 } 26 27 if ($widgets_area->widgets->count_all() == 0) return false; 28 29 foreach ($widgets_area->widgets->order_by('priority', 'ASC')->find_all() as $_widget) { 30 // json_encode($_widget->exec_params,TRUE) 31 32 echo Widget::factory($_widget->type, $_widget->exec_name); -
APPPATH/views/pages/right_sidebar.php [ 71 ] » Widget::area( arguments )
0string(18) "page-rightsidebar2" -
SYSPATH/classes/Kohana/View.php [ 61 ] » include( arguments )
0string(79) "/home/p24/web/prostitutki-24.love/public_html/app/views/pages/right_sidebar.php"56 // Capture the view output 57 ob_start(); 58 59 try { 60 // Load the view within the current scope 61 include $kohana_view_filename; 62 } catch (Exception $e) { 63 // Delete the output buffer 64 ob_end_clean(); 65 66 // Re-throw the exception -
SYSPATH/classes/Kohana/View.php [ 325 ] » Kohana_View::capture( arguments )
0string(79) "/home/p24/web/prostitutki-24.love/public_html/app/views/pages/right_sidebar.php"1array(0)320 if (empty($this->_file)) { 321 throw new View_Exception('You must set the file to use within your view before rendering'); 322 } 323 324 // Combine local and global data and capture the output 325 return View::capture($this->_file, $this->_data); 326 } 327 328 } -
SYSPATH/classes/Kohana/View.php [ 214 ] » Kohana_View->render( )
209 * @uses View::render 210 */ 211 public function __toString() 212 { 213 try { 214 return $this->render(); 215 } catch (Exception $e) { 216 /** 217 * Display the exception message. 218 * 219 * We use this method here because it's impossible to throw and -
APPPATH/views/templates/frontend/three.php [ 19 ] » Kohana_View->__toString( )
-
SYSPATH/classes/Kohana/View.php [ 61 ] » include( arguments )
0string(84) "/home/p24/web/prostitutki-24.love/public_html/app/views/templates/frontend/three.php"56 // Capture the view output 57 ob_start(); 58 59 try { 60 // Load the view within the current scope 61 include $kohana_view_filename; 62 } catch (Exception $e) { 63 // Delete the output buffer 64 ob_end_clean(); 65 66 // Re-throw the exception -
SYSPATH/classes/Kohana/View.php [ 325 ] » Kohana_View::capture( arguments )
0string(84) "/home/p24/web/prostitutki-24.love/public_html/app/views/templates/frontend/three.php"1array(4) ( "left_sidebar" => object View(2)
{ protected _file => string(78) "/home/p24/web/prostitutki-24.love/public_html/app/views/pages/left_sidebar.php" protected _data => array(0) }"right_sidebar" => object View(2){ protected _file => string(79) "/home/p24/web/prostitutki-24.love/public_html/app/views/pages/right_sidebar.php" protected _data => array(0) }"category_description" => NULL "content" => object View(2){ protected _file => string(75) "/home/p24/web/prostitutki-24.love/public_html/app/views/custom/category.php" protected _data => array(3) ( "messages" => object Database_MySQLi_Result(7)){ protected _internal_row => integer 30 protected _query => string(1729) "SELECT DISTINCT `profile`.`id` AS `id`, `profile`.`priority` AS `priority`, `profile`.`status` AS `status`, `profile`.`user_id` …" protected _result => object mysqli_result(5)"pagination" => object Pagination(15){ public current_field => NULL public field_count => NULL public lengths => NULL public num_rows => NULL public type => NULL }protected _total_rows => integer 30 protected _current_row => integer 30 protected _as_object => string(13) "Model_Profile" protected _object_params => NULL }{ protected config => array(6) ( "total_items" => integer 1742 "items_per_page" => integer 30 "current_page" => array(2) ( "source" => string(12) "query_string" "key" => string(4) "page" ) "view" => string(16) "pagination/float" "auto_hide" => bool TRUE "first_page_in_url" => bool FALSE ) protected current_page => integer 55 protected total_items => integer 1742 protected items_per_page => integer 30 protected total_pages => integer 59 protected current_first_item => integer 1621 protected current_last_item => integer 1650 protected previous_page => integer 54 protected next_page => integer 56 protected first_page => integer 1 protected last_page => integer 59 protected offset => integer 1620 protected _request => object Request(19)"path" => string(21) "nedorogie-prostitutki" ) }{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)protected _route => object Route(5){ protected _filters => array(0) protected _uri => string(15) "<path>(/<page>)" protected _regex => array(2) ( "path" => string(339) "molodie-prostitutki|zrelie-prostitutki|starie-prostitutki|deshevie-prostitutki|nedorogie-prostitutki|elitnie-prostitutki|individ …" "page" => string(6) "[0-9]+" ) protected _defaults => array(3) ( "controller" => string(15) "custom_category" "action" => string(5) "index" "page" => string(0) "" ) protected _route_regex => string(377) "#^(?P<path>molodie-prostitutki|zrelie-prostitutki|starie-prostitutki|deshevie-prostitutki|nedorogie-prostitutki|elitnie-prostitu …" }protected _routes => array(0) protected _header => object HTTP_Header(0){ }protected _body => NULL protected _directory => string(0) "" protected _controller => string(15) "Custom_Category" protected _action => string(5) "index" protected _uri => string(21) "nedorogie-prostitutki" protected _external => bool FALSE protected _params => array(2) ( "path" => string(21) "nedorogie-prostitutki" "page" => string(0) "" ) protected _get => array(1) ( "page" => string(2) "55" ) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "Authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }}{ protected _filters => array(0) protected _uri => string(15) "<path>(/<page>)" protected _regex => array(2) ( "path" => string(339) "molodie-prostitutki|zrelie-prostitutki|starie-prostitutki|deshevie-prostitutki|nedorogie-prostitutki|elitnie-prostitutki|individ …" "page" => string(6) "[0-9]+" ) protected _defaults => array(3) ( "controller" => string(15) "custom_category" "action" => string(5) "index" "page" => string(0) "" ) protected _route_regex => string(377) "#^(?P<path>molodie-prostitutki|zrelie-prostitutki|starie-prostitutki|deshevie-prostitutki|nedorogie-prostitutki|elitnie-prostitu …" }protected _route_params => array(3) ( "controller" => string(15) "Custom_Category" "action" => string(5) "index" "path" => string(21) "nedorogie-prostitutki" ) }320 if (empty($this->_file)) { 321 throw new View_Exception('You must set the file to use within your view before rendering'); 322 } 323 324 // Combine local and global data and capture the output 325 return View::capture($this->_file, $this->_data); 326 } 327 328 } -
SYSPATH/classes/Kohana/Controller/Template.php [ 44 ] » Kohana_View->render( )
39 * Assigns the template [View] as the request response. 40 */ 41 public function after() 42 { 43 if ($this->auto_render === TRUE) { 44 $this->response->body($this->template->render()); 45 } 46 47 parent::after(); 48 } 49 -
APPPATH/classes/Controller/Frontend.php [ 85 ] » Kohana_Controller_Template->after( )
-
SYSPATH/classes/Kohana/Controller.php [ 88 ] » Controller_Frontend->after( )
83 84 // Execute the action itself 85 $this->{$action}(); 86 87 // Execute the "after action" method 88 $this->after(); 89 90 // Return the response 91 return $this->response; 92 } 93 -
{PHP internal call} » Kohana_Controller->execute( )
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 93 ] » ReflectionMethod->invoke( arguments )
0object Controller_Custom_Category(5)
{ public auto_render => bool TRUE public template => object View(2){ protected _file => string(84) "/home/p24/web/prostitutki-24.love/public_html/app/views/templates/frontend/three.php" protected _data => array(4) ( "left_sidebar" => object View(2)public user => NULL public request => object Request(19){ protected _file => string(78) "/home/p24/web/prostitutki-24.love/public_html/app/views/pages/left_sidebar.php" protected _data => array(0) }"right_sidebar" => object View(2){ protected _file => string(79) "/home/p24/web/prostitutki-24.love/public_html/app/views/pages/right_sidebar.php" protected _data => array(0) }"category_description" => NULL "content" => object View(2){ protected _file => string(75) "/home/p24/web/prostitutki-24.love/public_html/app/views/custom/category.php" protected _data => array(3) ( "messages" => object Database_MySQLi_Result(7)) }{ protected _internal_row => integer 30 protected _query => string(1729) "SELECT DISTINCT `profile`.`id` AS `id`, `profile`.`priority` AS `priority`, `profile`.`status` AS `status`, `profile`.`user_id` …" protected _result => object mysqli_result(5)"pagination" => object Pagination(15){ public current_field => NULL public field_count => NULL public lengths => NULL public num_rows => NULL public type => NULL }protected _total_rows => integer 30 protected _current_row => integer 30 protected _as_object => string(13) "Model_Profile" protected _object_params => NULL }{ protected config => array(6) ( "total_items" => integer 1742 "items_per_page" => integer 30 "current_page" => array(2) ( "source" => string(12) "query_string" "key" => string(4) "page" ) "view" => string(16) "pagination/float" "auto_hide" => bool TRUE "first_page_in_url" => bool FALSE ) protected current_page => integer 55 protected total_items => integer 1742 protected items_per_page => integer 30 protected total_pages => integer 59 protected current_first_item => integer 1621 protected current_last_item => integer 1650 protected previous_page => integer 54 protected next_page => integer 56 protected first_page => integer 1 protected last_page => integer 59 protected offset => integer 1620 protected _request => object Request(19)"path" => string(21) "nedorogie-prostitutki" ) }{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)protected _route => object Route(5){ protected _filters => array(0) protected _uri => string(15) "<path>(/<page>)" protected _regex => array(2) ( "path" => string(339) "molodie-prostitutki|zrelie-prostitutki|starie-prostitutki|deshevie-prostitutki|nedorogie-prostitutki|elitnie-prostitutki|individ …" "page" => string(6) "[0-9]+" ) protected _defaults => array(3) ( "controller" => string(15) "custom_category" "action" => string(5) "index" "page" => string(0) "" ) protected _route_regex => string(377) "#^(?P<path>molodie-prostitutki|zrelie-prostitutki|starie-prostitutki|deshevie-prostitutki|nedorogie-prostitutki|elitnie-prostitu …" }protected _routes => array(0) protected _header => object HTTP_Header(0){ }protected _body => NULL protected _directory => string(0) "" protected _controller => string(15) "Custom_Category" protected _action => string(5) "index" protected _uri => string(21) "nedorogie-prostitutki" protected _external => bool FALSE protected _params => array(2) ( "path" => string(21) "nedorogie-prostitutki" "page" => string(0) "" ) protected _get => array(1) ( "page" => string(2) "55" ) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "Authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }}{ protected _filters => array(0) protected _uri => string(15) "<path>(/<page>)" protected _regex => array(2) ( "path" => string(339) "molodie-prostitutki|zrelie-prostitutki|starie-prostitutki|deshevie-prostitutki|nedorogie-prostitutki|elitnie-prostitutki|individ …" "page" => string(6) "[0-9]+" ) protected _defaults => array(3) ( "controller" => string(15) "custom_category" "action" => string(5) "index" "page" => string(0) "" ) protected _route_regex => string(377) "#^(?P<path>molodie-prostitutki|zrelie-prostitutki|starie-prostitutki|deshevie-prostitutki|nedorogie-prostitutki|elitnie-prostitu …" }protected _route_params => array(3) ( "controller" => string(15) "Custom_Category" "action" => string(5) "index" "path" => string(21) "nedorogie-prostitutki" ) }{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)public response => object Response(5){ protected _filters => array(0) protected _uri => string(15) "<path>(/<page>)" protected _regex => array(2) ( "path" => string(339) "molodie-prostitutki|zrelie-prostitutki|starie-prostitutki|deshevie-prostitutki|nedorogie-prostitutki|elitnie-prostitutki|individ …" "page" => string(6) "[0-9]+" ) protected _defaults => array(3) ( "controller" => string(15) "custom_category" "action" => string(5) "index" "page" => string(0) "" ) protected _route_regex => string(377) "#^(?P<path>molodie-prostitutki|zrelie-prostitutki|starie-prostitutki|deshevie-prostitutki|nedorogie-prostitutki|elitnie-prostitu …" }protected _routes => array(0) protected _header => object HTTP_Header(0){ }protected _body => NULL protected _directory => string(0) "" protected _controller => string(15) "Custom_Category" protected _action => string(5) "index" protected _uri => string(21) "nedorogie-prostitutki" protected _external => bool FALSE protected _params => array(2) ( "path" => string(21) "nedorogie-prostitutki" "page" => string(0) "" ) protected _get => array(1) ( "page" => string(2) "55" ) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "Authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => 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.1" }88 89 // Create a new instance of the controller 90 $controller = $class->newInstance($request, $response); 91 92 // Run the controller's execute() method 93 $response = $class->getMethod('execute')->invoke($controller); 94 95 if (!$response instanceof Response) { 96 // Controller failed to return a Response. 97 throw new Kohana_Exception('Controller failed to return a Response'); 98 } -
SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request( arguments )
0object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5){ protected _filters => array(0) protected _uri => string(15) "<path>(/<page>)" protected _regex => array(2) ( "path" => string(339) "molodie-prostitutki|zrelie-prostitutki|starie-prostitutki|deshevie-prostitutki|nedorogie-prostitutki|elitnie-prostitutki|individ …" "page" => string(6) "[0-9]+" ) protected _defaults => array(3) ( "controller" => string(15) "custom_category" "action" => string(5) "index" "page" => string(0) "" ) protected _route_regex => string(377) "#^(?P<path>molodie-prostitutki|zrelie-prostitutki|starie-prostitutki|deshevie-prostitutki|nedorogie-prostitutki|elitnie-prostitu …" }protected _routes => array(0) protected _header => object HTTP_Header(0){ }protected _body => NULL protected _directory => string(0) "" protected _controller => string(15) "Custom_Category" protected _action => string(5) "index" protected _uri => string(21) "nedorogie-prostitutki" protected _external => bool FALSE protected _params => array(2) ( "path" => string(21) "nedorogie-prostitutki" "page" => string(0) "" ) protected _get => array(1) ( "page" => string(2) "55" ) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "Authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }}1object Response(5)
{ protected _status => integer 200 protected _header => object HTTP_Header(0){ }protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }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 if ($response->headers($header)) { 119 $cb_result = call_user_func($callback, $request, $response, $this); -
SYSPATH/classes/Kohana/Request.php [ 921 ] » Kohana_Request_Client->execute( arguments )
0object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5){ protected _filters => array(0) protected _uri => string(15) "<path>(/<page>)" protected _regex => array(2) ( "path" => string(339) "molodie-prostitutki|zrelie-prostitutki|starie-prostitutki|deshevie-prostitutki|nedorogie-prostitutki|elitnie-prostitutki|individ …" "page" => string(6) "[0-9]+" ) protected _defaults => array(3) ( "controller" => string(15) "custom_category" "action" => string(5) "index" "page" => string(0) "" ) protected _route_regex => string(377) "#^(?P<path>molodie-prostitutki|zrelie-prostitutki|starie-prostitutki|deshevie-prostitutki|nedorogie-prostitutki|elitnie-prostitu …" }protected _routes => array(0) protected _header => object HTTP_Header(0){ }protected _body => NULL protected _directory => string(0) "" protected _controller => string(15) "Custom_Category" protected _action => string(5) "index" protected _uri => string(21) "nedorogie-prostitutki" protected _external => bool FALSE protected _params => array(2) ( "path" => string(21) "nedorogie-prostitutki" "page" => string(0) "" ) protected _get => array(1) ( "page" => string(2) "55" ) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "Authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }}916 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 917 ':uri' => $this->_uri, 918 )); 919 } 920 921 return $this->_client->execute($this); 922 } 923 924 /** 925 * Returns whether this request is the initial request Kohana received. 926 * Can be used to test for sub requests. -
DOCROOT/index.php [ 174 ] » Kohana_Request->execute( )
169 /** 170 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 171 * If no source is specified, the URI will be automatically detected. 172 */ 173 echo Request::factory(TRUE, array(), FALSE) 174 ->execute() 175 ->send_headers(TRUE) 176 ->body(); 177 }