MODPATH/pagination/classes/kohana/pagination.php [ 120 ]
115
116 // Initialize the $config array
117 $config['group'] = (string) $group;
118
119 // Recursively load requested config groups
120 while (isset($config['group']) AND isset($config_file->$config['group']))
121 {
122 // Temporarily store config group name
123 $group = $config['group'];
124 unset($config['group']);
125
-
MODPATH/pagination/classes/kohana/pagination.php [ 120 ] » Kohana_Core::error_handler(arguments)
0
integer 8
1
string(26) "Array to string conversion"
2
string(86) "/home/y/yamashc9/geo13.ru/public_html/modules/pagination/classes/kohana/pagination.php"
3
integer 120
4
array(3) ( "group" => string(7) "default" "config_file" => object Config_Group(1)
{ public default => array(6) ( "current_page" => array(2) ( "source" => string(5) "route" "key" => string(4) "page" ) "total_items" => integer 0 "items_per_page" => integer 50 "view" => string(19) "pagination/floating" "auto_hide" => bool TRUE "first_page_in_url" => bool FALSE ) }
"config" => array(1) ( "group" => string(7) "default" ) )115 116 // Initialize the $config array 117 $config['group'] = (string) $group; 118 119 // Recursively load requested config groups 120 while (isset($config['group']) AND isset($config_file->$config['group'])) 121 { 122 // Temporarily store config group name 123 $group = $config['group']; 124 unset($config['group']); 125
-
MODPATH/pagination/classes/kohana/pagination.php [ 84 ] » Kohana_Pagination->config_group()
79 * @return void 80 */ 81 public function __construct(array $config = array(), Request $request = NULL) 82 { 83 // Overwrite system defaults with application defaults 84 $this->config = $this->config_group() + $this->config; 85 86 // Assing Request 87 if ($request === NULL) 88 { 89 $request = Request::current();
-
MODPATH/pagination/classes/kohana/pagination.php [ 72 ] » Kohana_Pagination->__construct(arguments)
0
array(3) ( "total_items" => string(4) "1293" "items_per_page" => integer 50 "view" => string(16) "pagination/basic" )
1
NULL
67 * @param array configuration 68 * @return Pagination 69 */ 70 public static function factory(array $config = array(), Request $request = NULL) 71 { 72 return new Pagination($config, $request); 73 } 74 75 /** 76 * Creates a new Pagination object. 77 *
-
APPPATH/classes/controller/reestr.php [ 28 ] » Kohana_Pagination::factory(arguments)
0
array(3) ( "total_items" => string(4) "1293" "items_per_page" => integer 50 "view" => string(16) "pagination/basic" )
23 { 24 $id = $this->request->param('id'); 25 $category = Model::factory('Emap')->category_info($id); 26 $total = $category['count']; 27 $opp = 50; 28 $pagination = Pagination::factory(array('total_items' => $total, 'items_per_page' => $opp, 'view' => 'pagination/basic',)); 29 30 isset($_GET['page'])?$page=(int)$_GET['page']:$page=1; 31 $objects = Model::factory('Emap')->get_objects_reestr($id,($page-1)*$opp, $opp); 32 33 $content = View::factory('pages/reestr_cat')
-
{PHP internal call} » Controller_Reestr->action_categorylist()
-
SYSPATH/classes/kohana/request/client/internal.php [ 116 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Reestr(4)
{ public template => object View(2)
{ protected _file => string(68) "/home/y/yamashc9/geo13.ru/public_html/application/views/template.php" protected _data => array(1) ( "content" => string(0) "" ) }
public auto_render => bool TRUE public request => object Request(20){ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
public response => object Response(5){ protected _callback => NULL protected _uri => string(32) "(<controller>(/<action>(/<id>)))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(7) "Welcome" "action" => string(5) "index" ) protected _route_regex => string(95) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?)?$#uD" }
protected _routes => array(0) 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.1" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(6) "reestr" protected _action => string(12) "categorylist" protected _uri => string(21) "reestr/categorylist/7" protected _external => bool FALSE protected _params => array(1) ( "id" => string(1) "7" ) protected _get => array(1) ( "page" => string(1) "5" ) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(2){ protected _previous_environment => NULL protected _cache => NULL }
}{ 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" }111 throw new HTTP_Exception_404('The requested URL :uri was not found on this server.', 112 array(':uri' => $request->uri())); 113 } 114 115 $method = $class->getMethod('action_'.$action); 116 $method->invoke($controller); 117 118 // Execute the "after action" method 119 $class->getMethod('after')->invoke($controller); 120 } 121 catch (Exception $e)
-
SYSPATH/classes/kohana/request/client.php [ 64 ] » Kohana_Request_Client_Internal->execute_request(arguments)
0
object Request(20)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _callback => NULL protected _uri => string(32) "(<controller>(/<action>(/<id>)))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(7) "Welcome" "action" => string(5) "index" ) protected _route_regex => string(95) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?)?$#uD" }
protected _routes => array(0) 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.1" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(6) "reestr" protected _action => string(12) "categorylist" protected _uri => string(21) "reestr/categorylist/7" protected _external => bool FALSE protected _params => array(1) ( "id" => string(1) "7" ) protected _get => array(1) ( "page" => string(1) "5" ) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(2){ protected _previous_environment => NULL protected _cache => NULL }
}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 [ 1154 ] » Kohana_Request_Client->execute(arguments)
0
object Request(20)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _callback => NULL protected _uri => string(32) "(<controller>(/<action>(/<id>)))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(7) "Welcome" "action" => string(5) "index" ) protected _route_regex => string(95) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?)?$#uD" }
protected _routes => array(0) 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.1" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(6) "reestr" protected _action => string(12) "categorylist" protected _uri => string(21) "reestr/categorylist/7" protected _external => bool FALSE protected _params => array(1) ( "id" => string(1) "7" ) protected _get => array(1) ( "page" => string(1) "5" ) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(2){ protected _previous_environment => NULL protected _cache => NULL }
}1149 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 1150 ':uri' => $this->_uri, 1151 )); 1152 } 1153 1154 return $this->_client->execute($this); 1155 } 1156 1157 /** 1158 * Returns whether this request is the initial request Kohana received. 1159 * 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(TRUE) 111 ->body();