MODPATH/pagination/classes/Kohana/Pagination.php [ 87 ]
82 //$config_file = Kohana::config('pagination'); //for 3.1
83 // Initialize the $config array
84 $config['group'] = (string) $group;
85
86 // Recursively load requested config groups
87 while (isset($config['group']) AND isset($config_file->$config['group'])) {
88 // Temporarily store config group name
89 $group = $config['group'];
90 unset($config['group']);
91
92 // Add config group values, not overwriting existing keys
MODPATH/pagination/classes/Kohana/Pagination.php [ 87 ] » Kohana_Core::error_handler(arguments)
0 |
integer 8 |
1 |
string(26) "Array to string conversion" |
2 |
string(79) "/home/ncbj3xaqzuju/public_html/modules/pagination/classes/Kohana/Pagination.php" |
3 |
integer 87 |
4 |
array(3) (
"group" => string(7) "default"
"config_file" => object Config_Group(3) |
82 //$config_file = Kohana::config('pagination'); //for 3.1
83 // Initialize the $config array
84 $config['group'] = (string) $group;
85
86 // Recursively load requested config groups
87 while (isset($config['group']) AND isset($config_file->$config['group'])) {
88 // Temporarily store config group name
89 $group = $config['group'];
90 unset($config['group']);
91
92 // Add config group values, not overwriting existing keys
MODPATH/pagination/classes/Kohana/Pagination.php [ 66 ] » Kohana_Pagination->config_group()
61 * @param array configuration
62 * @return void
63 */
64 public function __construct(array $config = array()) {
65 // Overwrite system defaults with application defaults
66 $this->config = $this->config_group() + $this->config;
67
68 // Pagination setup
69 $this->setup($config);
70 }
71
MODPATH/pagination/classes/Kohana/Pagination.php [ 55 ] » Kohana_Pagination->__construct(arguments)
0 |
array(6) ( "current_page" => array(2) ( "source" => string(12) "query_string" "key" => string(4) "page" ) "total_items" => string(1) "0" "items_per_page" => integer 5 "view" => string(18) "pagination/default" "auto_hide" => bool TRUE "first_page_in_url" => bool FALSE ) |
50 *
51 * @param array configuration
52 * @return Pagination
53 */
54 public static function factory(array $config = array()) {
55 return new Pagination($config);
56 }
57
58 /**
59 * Creates a new Pagination object.
60 *
MODPATH/admin/classes/Model/Article/Item.php [ 346 ] » Kohana_Pagination::factory(arguments)
0 |
array(6) ( "current_page" => array(2) ( "source" => string(12) "query_string" "key" => string(4) "page" ) "total_items" => string(1) "0" "items_per_page" => integer 5 "view" => string(18) "pagination/default" "auto_hide" => bool TRUE "first_page_in_url" => bool FALSE ) |
341 $pagination_query = clone $query;
342 $total = $pagination_query->select(DB::expr('COUNT("*") AS total'))->execute()->get('total');
343 // Config Pagination
344 $config['default']['total_items'] = $total;
345 $config['default']['items_per_page'] = $limit;
346 $pagination = Pagination::factory($config['default']);
347 $page_links = $pagination->render();
348 // Get list
349 $query->order_by('created', 'DESC')
350 ->limit($pagination->items_per_page)
351 ->offset($pagination->offset);
APPPATH/views/article/category/view.php [ 24 ] » Model_Article_Item->search(arguments)
0 |
array(4) ( "published" => string(1) "Y" "category_id" => string(2) "22" "limit" => integer 5 "year" => integer 2024 ) |
19 'published' => 'Y',
20 'category_id' => $item->id,
21 'limit' => 5,
22 'year' => $year,
23 );
24 $result = ORM::factory('Article_Item')->search($filter);
25 $items = $result['items'];
26 $page_links = $result['page_links'];
27 $total = count($items);
28 ?>
29 <div class="container imageintro">
SYSPATH/classes/Kohana/View.php [ 61 ] » include(arguments)
0 |
string(74) "/home/ncbj3xaqzuju/public_html/application/views/article/category/view.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 [ 348 ] » Kohana_View::capture(arguments)
0 |
string(74) "/home/ncbj3xaqzuju/public_html/application/views/article/category/view.php" |
1 |
array(1) (
"item" => object Model_Article_Category(34) |
343 {
344 throw new View_Exception('You must set the file to use within your view before rendering');
345 }
346
347 // Combine local and global data and capture the output
348 return View::capture($this->_file, $this->_data);
349 }
350
351 } // 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 /**
233 * Display the exception message.
APPPATH/views/template/index.php [ 29 ] » Kohana_View->__toString()
24 </div>
25 </div>
26 </div>
27 </div>
28 <div class="main-content">
29 <?php echo $page_content; ?>
30 </div>
31 <div class="features">
32 <div class="container">
33 <div class="row">
34 <div class="span3">
SYSPATH/classes/Kohana/View.php [ 61 ] » include(arguments)
0 |
string(67) "/home/ncbj3xaqzuju/public_html/application/views/template/index.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 [ 348 ] » Kohana_View::capture(arguments)
0 |
string(67) "/home/ncbj3xaqzuju/public_html/application/views/template/index.php" |
1 |
array(0) |
343 {
344 throw new View_Exception('You must set the file to use within your view before rendering');
345 }
346
347 // Combine local and global data and capture the output
348 return View::capture($this->_file, $this->_data);
349 }
350
351 } // End View
SYSPATH/classes/Kohana/Controller/Template.php [ 44 ] » Kohana_View->render()
39 */
40 public function after()
41 {
42 if ($this->auto_render === TRUE)
43 {
44 $this->response->body($this->template->render());
45 }
46
47 parent::after();
48 }
49
SYSPATH/classes/Kohana/Controller.php [ 87 ] » Kohana_Controller_Template->after()
82
83 // Execute the action itself
84 $this->{$action}();
85
86 // Execute the "after action" method
87 $this->after();
88
89 // Return the response
90 return $this->response;
91 }
92
{PHP internal call} » Kohana_Controller->execute()
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)
0 |
object Controller_Article(5) |
92
93 // Create a new instance of the controller
94 $controller = $class->newInstance($request, $response);
95
96 // Run the controller's execute() method
97 $response = $class->getMethod('execute')->invoke($controller);
98
99 if ( ! $response instanceof Response)
100 {
101 // Controller failed to return a Response.
102 throw new Kohana_Exception('Controller failed to return a Response');
SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)
0 |
object Request(20) |
1 |
object Response(5) |
109 $orig_response = $response = Response::factory();
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 {
119 if ($response->headers($header))
SYSPATH/classes/Kohana/Request.php [ 990 ] » Kohana_Request_Client->execute(arguments)
0 |
object Request(20) |
985 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array(
986 ':uri' => $this->_uri,
987 ));
988 }
989
990 return $this->_client->execute($this);
991 }
992
993 /**
994 * Returns whether this request is the initial request Kohana received.
995 * Can be used to test for sub requests.
DOCROOT/index.php [ 115 ] » Kohana_Request->execute()
110 /**
111 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO'].
112 * If no source is specified, the URI will be automatically detected.
113 */
114 echo Request::factory(TRUE, array(), FALSE)
115 ->execute()
116 ->send_headers(TRUE)
117 ->body();
118 }
DOCROOT/index.php |
APPPATH/bootstrap.php |
SYSPATH/classes/Kohana/Core.php |
SYSPATH/classes/Kohana.php |
SYSPATH/classes/Cookie.php |
SYSPATH/classes/Kohana/Cookie.php |
SYSPATH/classes/I18n.php |
SYSPATH/classes/Kohana/I18n.php |
SYSPATH/classes/Kohana/Exception.php |
SYSPATH/classes/Kohana/Kohana/Exception.php |
SYSPATH/classes/Log.php |
SYSPATH/classes/Kohana/Log.php |
SYSPATH/classes/Config.php |
SYSPATH/classes/Kohana/Config.php |
SYSPATH/classes/Config/File.php |
SYSPATH/classes/Kohana/Config/File.php |
SYSPATH/classes/Kohana/Config/File/Reader.php |
SYSPATH/classes/Kohana/Config/Reader.php |
SYSPATH/classes/Kohana/Config/Source.php |
MODPATH/admin/init.php |
SYSPATH/classes/Route.php |
SYSPATH/classes/Kohana/Route.php |
MODPATH/imagefly/init.php |
MODPATH/captcha/init.php |
MODPATH/seo/classes/Request.php |
SYSPATH/classes/Kohana/Request.php |
SYSPATH/classes/HTTP/Request.php |
SYSPATH/classes/Kohana/HTTP/Request.php |
SYSPATH/classes/HTTP/Message.php |
SYSPATH/classes/Kohana/HTTP/Message.php |
MODPATH/orm/classes/ORM.php |
MODPATH/orm/classes/Kohana/ORM.php |
SYSPATH/classes/Model.php |
SYSPATH/classes/Kohana/Model.php |
MODPATH/seo/classes/Model/Seo/Link.php |
SYSPATH/classes/Arr.php |
SYSPATH/classes/Kohana/Arr.php |
SYSPATH/classes/Inflector.php |
SYSPATH/classes/Kohana/Inflector.php |
SYSPATH/config/inflector.php |
SYSPATH/classes/Config/Group.php |
SYSPATH/classes/Kohana/Config/Group.php |
MODPATH/database/classes/Database.php |
MODPATH/database/classes/Kohana/Database.php |
MODPATH/database/config/database.php |
APPPATH/config/database.php |
MODPATH/database/classes/Database/MySQLi.php |
MODPATH/database/classes/Kohana/Database/MySQLi.php |
MODPATH/database/classes/Database/MySQLi/Result.php |
MODPATH/database/classes/Kohana/Database/MySQLi/Result.php |
MODPATH/database/classes/Database/Result.php |
MODPATH/database/classes/Kohana/Database/Result.php |
MODPATH/database/classes/DB.php |
MODPATH/database/classes/Kohana/DB.php |
MODPATH/database/classes/Database/Query/Builder/Select.php |
MODPATH/database/classes/Kohana/Database/Query/Builder/Select.php |
MODPATH/database/classes/Database/Query/Builder/Where.php |
MODPATH/database/classes/Kohana/Database/Query/Builder/Where.php |
MODPATH/database/classes/Database/Query/Builder.php |
MODPATH/database/classes/Kohana/Database/Query/Builder.php |
MODPATH/database/classes/Database/Query.php |
MODPATH/database/classes/Kohana/Database/Query.php |
SYSPATH/classes/HTTP/Header.php |
SYSPATH/classes/Kohana/HTTP/Header.php |
SYSPATH/classes/Request/Client/Internal.php |
SYSPATH/classes/Kohana/Request/Client/Internal.php |
SYSPATH/classes/Request/Client.php |
SYSPATH/classes/Kohana/Request/Client.php |
SYSPATH/classes/Response.php |
SYSPATH/classes/Kohana/Response.php |
SYSPATH/classes/HTTP/Response.php |
SYSPATH/classes/Kohana/HTTP/Response.php |
SYSPATH/classes/Profiler.php |
SYSPATH/classes/Kohana/Profiler.php |
APPPATH/classes/Controller/Article.php |
APPPATH/classes/Controller/Base.php |
MODPATH/ads/classes/Controller/Template.php |
SYSPATH/classes/Kohana/Controller/Template.php |
SYSPATH/classes/Controller.php |
SYSPATH/classes/Kohana/Controller.php |
SYSPATH/classes/View.php |
SYSPATH/classes/Kohana/View.php |
SYSPATH/classes/URL.php |
SYSPATH/classes/Kohana/URL.php |
APPPATH/config/website.php |
MODPATH/ads/classes/Template.php |
MODPATH/ads/classes/Kohana/Template.php |
SYSPATH/classes/Session.php |
SYSPATH/classes/Kohana/Session.php |
SYSPATH/config/session.php |
MODPATH/database/config/session.php |
SYSPATH/classes/Session/Native.php |
SYSPATH/classes/Kohana/Session/Native.php |
MODPATH/admin/classes/Model/Article/Category.php |
MODPATH/ads/classes/Model/Ads/Nested.php |
MODPATH/ads/classes/Model/Ads/ORM.php |
APPPATH/views/template/index.php |
APPPATH/views/template/head.php |
SYSPATH/classes/UTF8.php |
SYSPATH/classes/Kohana/UTF8.php |
SYSPATH/classes/HTML.php |
SYSPATH/classes/Kohana/HTML.php |
APPPATH/views/template/message.php |
APPPATH/views/menu/main.php |
MODPATH/admin/classes/Model/Menu/Category.php |
APPPATH/views/article/category/view.php |
MODPATH/admin/classes/Model/Article/Item.php |
MODPATH/pagination/config/pagination.php |
MODPATH/database/classes/Database/Expression.php |
MODPATH/database/classes/Kohana/Database/Expression.php |
MODPATH/pagination/classes/Pagination.php |
MODPATH/pagination/classes/Kohana/Pagination.php |
SYSPATH/classes/Debug.php |
SYSPATH/classes/Kohana/Debug.php |
SYSPATH/views/kohana/error.php |
Core |
date |
libxml |
openssl |
pcre |
sqlite3 |
zlib |
bz2 |
calendar |
ctype |
curl |
hash |
filter |
ftp |
gettext |
gmp |
SPL |
iconv |
pcntl |
readline |
Reflection |
session |
standard |
shmop |
SimpleXML |
mbstring |
tokenizer |
xml |
litespeed |
i360 |
bcmath |
dom |
fileinfo |
gd |
imagick |
imap |
inotify |
intl |
json |
exif |
mcrypt |
mysqlnd |
mysqli |
PDO |
pdo_mysql |
pdo_sqlite |
Phar |
posix |
soap |
xmlreader |
xmlrpc |
xmlwriter |
zip |
Zend OPcache |
LSPHP_ENABLE_USER_INI |
string(2) "on" |
PATH |
string(28) "/usr/local/bin:/usr/bin:/bin" |
TEMP |
string(4) "/tmp" |
TMP |
string(4) "/tmp" |
TMPDIR |
string(4) "/tmp" |
PWD |
string(1) "/" |
HTTP_ACCEPT |
string(63) "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" |
HTTP_ACCEPT_ENCODING |
string(7) "br,gzip" |
HTTP_ACCEPT_LANGUAGE |
string(14) "en-US,en;q=0.5" |
HTTP_CONNECTION |
string(10) "Keep-Alive" |
CONTENT_LENGTH |
string(1) "0" |
HTTP_HOST |
string(14) "gnetdesign.com" |
HTTP_USER_AGENT |
string(40) "CCBot/2.0 (https://commoncrawl.org/faq/)" |
REDIRECT_UNIQUE_ID |
string(27) "Z1TCLl0L4dKTrWELC2Z61AAAAiI" |
REDIRECT_SCRIPT_URL |
string(5) "/news" |
REDIRECT_SCRIPT_URI |
string(26) "http://gnetdesign.com/news" |
REDIRECT_USER_ID |
string(7) "6295931" |
REDIRECT_STATUS |
string(3) "200" |
UNIQUE_ID |
string(27) "Z1TCLl0L4dKTrWELC2Z61AAAAiI" |
SCRIPT_URL |
string(5) "/news" |
SCRIPT_URI |
string(26) "http://gnetdesign.com/news" |
USER_ID |
string(7) "6295931" |
SERVER_SIGNATURE |
string(0) "" |
SERVER_SOFTWARE |
string(6) "Apache" |
SERVER_NAME |
string(14) "gnetdesign.com" |
SERVER_ADDR |
string(14) "198.12.236.202" |
SERVER_PORT |
string(2) "80" |
REMOTE_ADDR |
string(11) "18.97.14.83" |
DOCUMENT_ROOT |
string(30) "/home/ncbj3xaqzuju/public_html" |
REQUEST_SCHEME |
string(4) "http" |
CONTEXT_PREFIX |
string(0) "" |
CONTEXT_DOCUMENT_ROOT |
string(30) "/home/ncbj3xaqzuju/public_html" |
SERVER_ADMIN |
string(24) "webmaster@gnetdesign.com" |
SCRIPT_FILENAME |
string(40) "/home/ncbj3xaqzuju/public_html/index.php" |
REMOTE_PORT |
string(5) "35880" |
REDIRECT_URL |
string(5) "/news" |
SERVER_PROTOCOL |
string(8) "HTTP/1.1" |
REQUEST_METHOD |
string(3) "GET" |
QUERY_STRING |
string(0) "" |
REQUEST_URI |
string(5) "/news" |
SCRIPT_NAME |
string(10) "/index.php" |
PHP_SELF |
string(10) "/index.php" |
REQUEST_TIME_FLOAT |
float 1733607982.7266 |
REQUEST_TIME |
integer 1733607982 |
Smart Home is often used to explain the use of remote or automatic control of devices around the home. Our smart home solutions provide quick and easy access
Green Net Design is committed to bringing you a consistently high level of products and services
Please fill out the following form to find appropriate Green Net Design dealer.