MODPATH/admin/classes/Model/Product/Item.php [ 134 ]
129 $product_image->save();
130 }
131 }
132 }
133
134 public function create($values) {
135 $values['created'] = date('Y-m-d H:i:s');
136 $this->values($values);
137 $item = parent::create();
138 if ($item->loaded()) {
139 $this->upload_image($values);
SYSPATH/classes/Kohana/Core.php [ 511 ] » Kohana_Core::error_handler(arguments)
0 |
integer 2 |
1 |
string(127) "Declaration of Model_Product_Item::create($values) should be compatible with Kohana_ORM::create(?Validation $validation = NULL)" |
2 |
string(75) "/home/ncbj3xaqzuju/public_html/modules/admin/classes/Model/Product/Item.php" |
3 |
integer 134 |
4 |
array(6) ( "class" => string(18) "Model_Product_Item" "directory" => string(7) "classes" "file" => string(18) "Model/Product/Item" "namespace" => string(0) "" "last_namespace_position" => bool FALSE "path" => string(75) "/home/ncbj3xaqzuju/public_html/modules/admin/classes/Model/Product/Item.php" ) |
506 $file .= str_replace('_', DIRECTORY_SEPARATOR, $class);
507
508 if ($path = Kohana::find_file($directory, $file))
509 {
510 // Load the class file
511 require $path;
512
513 // Class has been found
514 return TRUE;
515 }
516
SYSPATH/classes/Kohana/Core.php [ 511 ] » require()
506 $file .= str_replace('_', DIRECTORY_SEPARATOR, $class);
507
508 if ($path = Kohana::find_file($directory, $file))
509 {
510 // Load the class file
511 require $path;
512
513 // Class has been found
514 return TRUE;
515 }
516
{PHP internal call} » Kohana_Core::auto_load(arguments)
0 |
string(18) "Model_Product_Item" |
MODPATH/orm/classes/Kohana/ORM.php [ 46 ] » spl_autoload_call(arguments)
class_name |
string(18) "Model_Product_Item" |
41 public static function factory($model, $id = NULL)
42 {
43 // Set class name
44 $model = 'Model_'.$model;
45
46 return new $model($id);
47 }
48
49 /**
50 * "Has one" relationships
51 * @var array
APPPATH/views/product/category/viewlv2.php [ 7 ] » Kohana_ORM::factory(arguments)
0 |
string(18) "Model_Product_Item" |
2 $filter = array(
3 'published' => 'Y',
4 'category_id' => $item->id,
5 'limit' => 16,
6 );
7 $result = ORM::factory('Product_Item')->search($filter);
8 $items = $result['items'];
9 $page_links = $result['page_links'];
10 $total = count($items);
11 ?>
12
SYSPATH/classes/Kohana/View.php [ 61 ] » include(arguments)
0 |
string(77) "/home/ncbj3xaqzuju/public_html/application/views/product/category/viewlv2.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(77) "/home/ncbj3xaqzuju/public_html/application/views/product/category/viewlv2.php" |
1 |
array(1) (
"item" => object Model_Product_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_Product(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/Product.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/Product/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/product/category/viewlv2.php |
MODPATH/admin/classes/Model/Product/Item.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) "Z1S32l0L4dKTrWELC2Zg4AAAAik" |
REDIRECT_SCRIPT_URL |
string(24) "/products/smart-switches" |
REDIRECT_SCRIPT_URI |
string(45) "http://gnetdesign.com/products/smart-switches" |
REDIRECT_USER_ID |
string(7) "6295931" |
REDIRECT_STATUS |
string(3) "200" |
UNIQUE_ID |
string(27) "Z1S32l0L4dKTrWELC2Zg4AAAAik" |
SCRIPT_URL |
string(24) "/products/smart-switches" |
SCRIPT_URI |
string(45) "http://gnetdesign.com/products/smart-switches" |
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) "35240" |
REDIRECT_URL |
string(24) "/products/smart-switches" |
SERVER_PROTOCOL |
string(8) "HTTP/1.1" |
REQUEST_METHOD |
string(3) "GET" |
QUERY_STRING |
string(0) "" |
REQUEST_URI |
string(24) "/products/smart-switches" |
SCRIPT_NAME |
string(10) "/index.php" |
PHP_SELF |
string(10) "/index.php" |
REQUEST_TIME_FLOAT |
float 1733605338.6018 |
REQUEST_TIME |
integer 1733605338 |
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.