DOCROOT/custom/catalog/classes/controller/catalog/clocks.php [ 925 ]
920
921 $default = array();
922
923 $remClock = array();
924
925 foreach($item->options as $value){
926
927 $pos = strripos(@$value["articul"], "CM");
928
929 if ($pos !== false){
930
-
DOCROOT/custom/catalog/classes/controller/catalog/clocks.php [ 925 ] » Kohana_Core::error_handler(arguments)
0
integer 2
1
string(39) "Invalid argument supplied for foreach()"
2
string(73) "/var/www/divakartina/custom/catalog/classes/controller/catalog/clocks.php"
3
integer 925
4
array(10) ( "item_slug" => string(5) "03-08" "item" => object Model_CatalogItem(32)
{ protected _sorting => array(1) ( "id" => string(4) "DESC" ) protected _belongs_to => array(1) ( "catalogsection" => array(2) ( "model" => string(14) "catalogsection" "foreign_key" => string(17) "catalogsection_id" ) ) protected _has_many => array(1) ( "catalogcomments" => array(4) ( "model" => string(14) "catalogcomment" "foreign_key" => string(14) "catalogitem_id" "through" => NULL "far_key" => string(17) "catalogcomment_id" ) ) protected _behaviours => array(2) ( "files" => object Behaviour_Files(6)
"next" => array(0) "prev" => array(0) "payinfo" => object Model_Page(31){ protected _files => array(0) protected _cached_names => array(0) protected _name_param => string(14) "behaviour_name" protected _behaviour_name => string(5) "files" protected _base => object Model_CatalogItem(32) { *RECURSION* } protected _params => array(1) ( "pic" => array(3) ( ... ) ) }
"multiupload" => object Behaviour_Multiupload(6){ protected _files => array(0) protected _delete_files => array(0) protected _name_param => string(14) "behaviour_name" protected _behaviour_name => string(11) "multiupload" protected _base => object Model_CatalogItem(32) { *RECURSION* } protected _params => array(1) ( "manuals" => string(34) "userfiles/catalogitem/manuals/{id}" ) }
) protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(28) ( "id" => NULL "catalogsection_id" => NULL "name" => NULL "slug" => NULL "path" => NULL "title" => NULL "description" => NULL "keywords" => NULL "item_type" => NULL "price" => NULL "short" => NULL "text" => NULL "behaviours" => NULL "articles" => NULL "recommendations" => NULL "is_hidden" => NULL "popular" => NULL "is_spec" => NULL "order" => NULL "date" => NULL "sale" => NULL "options" => NULL "articul" => NULL "autor" => NULL "sales" => NULL "colors" => NULL "collection" => NULL "colorname" => NULL ) protected _changed => array(0) protected _related => array(0) protected _valid => bool FALSE protected _loaded => bool FALSE protected _saved => bool FALSE protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(11) "catalogitem" protected _object_plural => string(12) "catalogitems" protected _table_name => string(12) "catalogitems" protected _table_columns => array(28) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "catalogsection_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(17) "catalogsection_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "name" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "character_maximum_length" => string(3) "128" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "slug" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "slug" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(2) "64" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "path" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "path" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "character_maximum_length" => string(3) "256" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "title" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 6 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "description" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "keywords" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(8) "keywords" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "item_type" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "item_type" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 9 "character_maximum_length" => string(3) "128" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "price" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(5) "price" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "short" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(5) "short" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 11 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 12 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "behaviours" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(10) "behaviours" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 13 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "articles" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "articles" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 14 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "recommendations" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(15) "recommendations" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 15 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_hidden" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(9) "is_hidden" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 16 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "popular" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "popular" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 17 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_spec" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "is_spec" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 18 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "order" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(5) "order" "column_default" => string(1) "1" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 19 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "date" "column_default" => string(17) "CURRENT_TIMESTAMP" "data_type" => string(9) "timestamp" "is_nullable" => bool FALSE "ordinal_position" => integer 20 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "sale" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(4) "sale" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 21 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "options" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(10) "4294967295" "column_name" => string(7) "options" "column_default" => NULL "data_type" => string(8) "longtext" "is_nullable" => bool FALSE "ordinal_position" => integer 22 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "articul" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(7) "articul" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 23 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "autor" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(5) "autor" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 24 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "sales" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(10) "4294967295" "column_name" => string(5) "sales" "column_default" => NULL "data_type" => string(8) "longtext" "is_nullable" => bool FALSE "ordinal_position" => integer 25 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "colors" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(6) "colors" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 26 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "collection" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(10) "collection" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 27 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "colorname" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(9) "colorname" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 28 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _primary_key => string(2) "id" protected _primary_key_value => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQL(6){ protected _connection_id => string(40) "0125df278bc415e5c8f4926e0a80d7ca6cec9406" protected _identifier => string(1) "`" public last_query => string(91) "SELECT `wg_pages`.* FROM `wg_pages` WHERE `id` = 35 ORDER BY `wg_pages`.`order` ASC LIMIT 1" protected _instance => string(7) "default" protected _connection => resource(mysql link) protected _config => array(6) ( "type" => string(5) "mysql" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(11) "divakartina" "persistent" => bool FALSE ) "table_prefix" => string(3) "wg_" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) }{ protected _sorting => array(1) ( "order" => string(3) "ASC" ) protected _belongs_to => array(1) ( "parent" => array(2) ( "model" => string(4) "page" "foreign_key" => string(9) "parent_id" ) ) protected _has_many => array(1) ( "children" => array(4) ( "model" => string(4) "page" "foreign_key" => string(9) "parent_id" "through" => NULL "far_key" => string(8) "child_id" ) ) protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(16) ( "id" => string(2) "35" "parent_id" => string(2) "34" "level" => string(1) "3" "order" => string(2) "21" "path" => string(18) "help/info/delivery" "slug" => string(8) "delivery" "name" => string(32) "Доставка и оплата" "title" => string(64) "Доставка и оплата модульных картин" "description" => string(187) "Мы упаковываем модульные картины с особой заботой и передаем их в курьерскую службу в кратчайший срок" "keywords" => string(86) "доставка модульных картин во все города россии" "text" => string(9567) "<h1>ДОСТАВКА И ОПЛАТА</h1> <p>Мы упаковываем <a href="/">модульные картины</a> с особой заботой и передаем их в к …" "top_menu" => string(1) "0" "left_menu" => string(1) "1" "has_children" => string(1) "0" "is_hidden" => string(1) "0" "is_protected" => string(1) "0" ) protected _changed => array(0) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool TRUE protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(4) "page" protected _object_plural => string(5) "pages" protected _table_name => string(5) "pages" protected _table_columns => array(16) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "parent_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "parent_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "level" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(5) "level" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "order" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(5) "order" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "path" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "path" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "character_maximum_length" => string(3) "256" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "UNI" "privileges" => string(31) "select,insert,update,references" ) "slug" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "slug" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 6 "character_maximum_length" => string(2) "64" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "name" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "character_maximum_length" => string(3) "128" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "title" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "description" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 9 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "keywords" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(8) "keywords" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(10) "4294967295" "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(8) "longtext" "is_nullable" => bool FALSE "ordinal_position" => integer 11 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "top_menu" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(8) "top_menu" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 12 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "left_menu" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(9) "left_menu" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 13 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "has_children" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(12) "has_children" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 14 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_hidden" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(9) "is_hidden" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 15 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_protected" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(12) "is_protected" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 16 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _primary_key => string(2) "id" protected _primary_key_value => string(2) "35" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQL(6)
"tags" => array(1) ( 0 => string(0) "" ) "tg" => string(0) "" "k" => integer 0 "default" => array(0) "remClock" => array(0) ){ protected _connection_id => string(40) "0125df278bc415e5c8f4926e0a80d7ca6cec9406" protected _identifier => string(1) "`" public last_query => string(91) "SELECT `wg_pages`.* FROM `wg_pages` WHERE `id` = 35 ORDER BY `wg_pages`.`order` ASC LIMIT 1" protected _instance => string(7) "default" protected _connection => resource(mysql link) protected _config => array(6) ( "type" => string(5) "mysql" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(11) "divakartina" "persistent" => bool FALSE ) "table_prefix" => string(3) "wg_" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) }920 921 $default = array(); 922 923 $remClock = array(); 924 925 foreach($item->options as $value){ 926 927 $pos = strripos(@$value["articul"], "CM"); 928 929 if ($pos !== false){ 930
-
DOCROOT/custom/catalog/classes/controller/catalog/clocks.php [ 25 ] » Controller_Catalog_Clocks->clock(arguments)
0
string(5) "03-08"
20 if($pos !== false){ 21 22 23 $slug = explode("/" ,$path ); 24 $slug = explode(".html", $slug[count($slug)-1]); 25 $this->clock($slug[0]); 26 27 }else{ 28 29 $section = ORM::factory('catalogsection', array( 30 'path' => $path
-
{PHP internal call} » Controller_Catalog_Clocks->action_index(arguments)
0
string(19) "detskoye/03-08.html"
-
SYSPATH/classes/kohana/request/client/internal.php [ 132 ] » ReflectionMethod->invokeArgs(arguments)
0
object Controller_Catalog_Clocks(5)
{ public environment => object Twig_Environment(24)
{ protected charset => string(5) "utf-8" protected loader => object Twig_Loader_Kohana(1)
public auto_render => bool TRUE public template => object Twig(4){ protected cache => NULL }
protected debug => bool FALSE protected autoReload => bool TRUE protected cache => string(36) "/var/www/divakartina/site/cache/twig" protected lexer => NULL protected parser => NULL protected compiler => NULL protected baseTemplateClass => string(13) "Twig_Template" protected extensions => array(6) ( "core" => object Twig_Extension_Core(0){ }
"escaper" => object Twig_Extension_Escaper(1){ protected autoescape => bool FALSE }
"optimizer" => object Twig_Extension_Optimizer(1){ protected optimizers => integer -1 }
"kohana_twig" => object Kohana_Twig_Extensions(0){ }
"wg_twig" => object Wg_Twig_Extension(0){ }
"sandbox" => object Twig_Extension_Sandbox(3){ protected sandboxedGlobally => bool FALSE protected sandboxed => NULL protected policy => object Twig_Sandbox_SecurityPolicy(5)
) protected parsers => NULL protected visitors => NULL protected filters => NULL protected tests => NULL protected functions => NULL protected globals => NULL protected runtimeInitialized => bool FALSE protected loadedTemplates => NULL protected strictVariables => bool FALSE protected unaryOperators => NULL protected binaryOperators => NULL protected templateClassPrefix => string(15) "__TwigTemplate_" protected functionCallbacks => array(0) protected filterCallbacks => array(0) }{ protected allowedTags => array(0) protected allowedFilters => array(0) protected allowedMethods => array(0) protected allowedProperties => array(0) protected allowedFunctions => array(0) }
}{ protected _file => string(20) "catalog/clocks/clock" protected _extension => string(4) "html" protected _data => array(4) ( "next" => NULL "prev" => NULL "payinfo" => object Model_Page(31)
public request => object Request(20){ protected _sorting => array(1) ( "order" => string(3) "ASC" ) protected _belongs_to => array(1) ( "parent" => array(2) ( ... ) ) protected _has_many => array(1) ( "children" => array(4) ( ... ) ) protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(16) ( "id" => string(2) "35" "parent_id" => string(2) "34" "level" => string(1) "3" "order" => string(2) "21" "path" => string(18) "help/info/delivery" "slug" => string(8) "delivery" "name" => string(32) "Доставка и оплата" "title" => string(64) "Доставка и оплата модульных картин" "description" => string(187) "Мы упаковываем модульные картины с особой заботой и передаем их в курьерскую службу в кратчайший срок" "keywords" => string(86) "доставка модульных картин во все города россии" "text" => string(9567) "<h1>ДОСТАВКА И ОПЛАТА</h1> <p>Мы упаковываем <a href="/">модульные картины</a> с особой заботой и передаем их в к …" "top_menu" => string(1) "0" "left_menu" => string(1) "1" "has_children" => string(1) "0" "is_hidden" => string(1) "0" "is_protected" => string(1) "0" ) protected _changed => array(0) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool TRUE protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(4) "page" protected _object_plural => string(5) "pages" protected _table_name => string(5) "pages" protected _table_columns => array(16) ( "id" => array(13) ( ... ) "parent_id" => array(13) ( ... ) "level" => array(13) ( ... ) "order" => array(13) ( ... ) "path" => array(12) ( ... ) "slug" => array(12) ( ... ) "name" => array(12) ( ... ) "title" => array(12) ( ... ) "description" => array(12) ( ... ) "keywords" => array(12) ( ... ) "text" => array(12) ( ... ) "top_menu" => array(13) ( ... ) "left_menu" => array(13) ( ... ) "has_children" => array(13) ( ... ) "is_hidden" => array(13) ( ... ) "is_protected" => array(13) ( ... ) ) protected _updated_column => NULL protected _created_column => NULL protected _primary_key => string(2) "id" protected _primary_key_value => string(2) "35" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQL(6)
"tags" => array(1) ( 0 => string(0) "" ) ) protected _environment => object Twig_Environment(24){ protected _connection_id => string(40) "0125df278bc415e5c8f4926e0a80d7ca6cec9406" protected _identifier => string(1) "`" public last_query => string(91) "SELECT `wg_pages`.* FROM `wg_pages` WHERE `id` = 35 ORDER BY `wg_pages`.`order` ASC LIMIT 1" protected _instance => string(7) "default" protected _connection => resource(mysql link) protected _config => array(6) ( ... ) }
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) }{ protected charset => string(5) "utf-8" protected loader => object Twig_Loader_Kohana(1)
}{ protected cache => NULL }
protected debug => bool FALSE protected autoReload => bool TRUE protected cache => string(36) "/var/www/divakartina/site/cache/twig" protected lexer => NULL protected parser => NULL protected compiler => NULL protected baseTemplateClass => string(13) "Twig_Template" protected extensions => array(6) ( "core" => object Twig_Extension_Core(0){ }
"escaper" => object Twig_Extension_Escaper(1){ protected autoescape => bool FALSE }
"optimizer" => object Twig_Extension_Optimizer(1){ protected optimizers => integer -1 }
"kohana_twig" => object Kohana_Twig_Extensions(0){ }
"wg_twig" => object Wg_Twig_Extension(0){ }
"sandbox" => object Twig_Extension_Sandbox(3){ protected sandboxedGlobally => bool FALSE protected sandboxed => NULL protected policy => object Twig_Sandbox_SecurityPolicy(5)
) protected parsers => NULL protected visitors => NULL protected filters => NULL protected tests => NULL protected functions => NULL protected globals => NULL protected runtimeInitialized => bool FALSE protected loadedTemplates => NULL protected strictVariables => bool FALSE protected unaryOperators => NULL protected binaryOperators => NULL protected templateClassPrefix => string(15) "__TwigTemplate_" protected functionCallbacks => array(0) protected filterCallbacks => array(0) }{ protected allowedTags => array(0) protected allowedFilters => array(0) protected allowedMethods => array(0) protected allowedProperties => array(0) protected allowedFunctions => array(0) }
}{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(4) "http" protected _referrer => string(56) "http://divakartina.ru/catalog_clocks/detskoye/03-08.html" protected _route => object Route(5)
public response => object Response(5){ protected _callback => NULL protected _uri => string(23) "catalog_clocks(/<path>)" protected _regex => array(1) ( "path" => string(2) ".*" ) protected _defaults => array(3) ( "controller" => string(14) "catalog_clocks" "action" => string(5) "index" "path" => string(0) "" ) protected _route_regex => string(38) "#^catalog_clocks(?:/(?P<path>.*))?$#uD" }
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(4) "http" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(14) "catalog_clocks" protected _action => string(5) "index" protected _uri => string(34) "catalog_clocks/detskoye/03-08.html" protected _external => bool FALSE protected _params => array(1) ( "path" => string(19) "detskoye/03-08.html" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(5){ protected _previous_environment => NULL protected _cache => NULL protected _allow_private_cache => bool FALSE protected _request_time => NULL protected _response_time => integer 1711667940 }
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(4) "http" }1
array(1) ( "path" => string(19) "detskoye/03-08.html" )
127 * Execute the main action with the parameters 128 * 129 * @deprecated $params passing is deprecated since version 3.1 130 * will be removed in 3.2. 131 */ 132 $method->invokeArgs($controller, $params); 133 134 // Execute the "after action" method 135 $class->getMethod('after')->invoke($controller); 136 137 // Stop response time
-
SYSPATH/classes/kohana/request.php [ 1138 ] » Kohana_Request_Client_Internal->execute(arguments)
0
object Request(20)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(4) "http" protected _referrer => string(56) "http://divakartina.ru/catalog_clocks/detskoye/03-08.html" protected _route => object Route(5)
{ protected _callback => NULL protected _uri => string(23) "catalog_clocks(/<path>)" protected _regex => array(1) ( "path" => string(2) ".*" ) protected _defaults => array(3) ( "controller" => string(14) "catalog_clocks" "action" => string(5) "index" "path" => string(0) "" ) protected _route_regex => string(38) "#^catalog_clocks(?:/(?P<path>.*))?$#uD" }
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(4) "http" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(14) "catalog_clocks" protected _action => string(5) "index" protected _uri => string(34) "catalog_clocks/detskoye/03-08.html" protected _external => bool FALSE protected _params => array(1) ( "path" => string(19) "detskoye/03-08.html" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(5){ protected _previous_environment => NULL protected _cache => NULL protected _allow_private_cache => bool FALSE protected _request_time => NULL protected _response_time => integer 1711667940 }
public _injected_routes => array(0) }1133 throw new Kohana_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 [ 219 ] » Kohana_Request->execute()
214 /** 215 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 216 * If no source is specified, the URI will be automatically detected. 217 */ 218 echo Request::factory() 219 ->execute() 220 ->send_headers() 221 ->body();