APPPATH/classes/controller/container.php [ 71 ]
66
67 $info = Model_Site::get_config('containerbuyform');
68
69 $form = Sprig::factory('temail_container_buy');
70 $form->cat = $category->id;
71 $form->price = $price->id;
72
73 $data = array(
74 'category' => $category,
75 'price' => $price,
76 'info' => $info,
-
APPPATH/classes/controller/container.php [ 71 ] » Kohana_Core::error_handler(arguments)
0
integer 8
1
string(36) "Trying to get property of non-object"
2
string(69) "/var/www/metal-box.ru.v2/application/classes/controller/container.php"
3
integer 71
4
array(6) ( "cg_id" => string(1) "1" "price_id" => string(2) "21" "category" => object Model_Container_Cat(14)
{ protected _title_key => string(5) "title" protected _db => string(7) "default" protected _table => string(14) "containers_cat" protected _sorting => array(1) ( "sort" => string(3) "asc" ) protected _model => string(13) "container_cat" protected _fields => array(25) ( "id" => object Sprig_Field_Auto(18)
"price" => bool FALSE "info" => object Option_Page_ContainerBuyForm(17){ public primary => bool TRUE public editable => bool FALSE public null => bool TRUE public min_value => NULL public max_value => NULL public empty => bool TRUE public unique => bool FALSE public default => string(0) "" public choices => NULL public column => string(2) "id" public label => string(2) "id" public description => string(0) "" public attributes => NULL public in_db => bool TRUE public filters => array(0) public rules => array(0) public callbacks => array(0) public object => object Model_Container_Cat(14) { *RECURSION* } }
"title" => object Sprig_Field_Char(18){ public min_length => NULL public max_length => integer 128 public empty => bool FALSE public primary => bool FALSE public unique => bool FALSE public null => bool FALSE public editable => bool TRUE public default => string(0) "" public choices => NULL public column => string(5) "title" public label => string(16) "Название" public description => string(0) "" public attributes => NULL public in_db => bool TRUE public filters => array(0) public rules => array(2) ( 0 => array(2) ( 0 => string(9) "not_empty" 1 => array(1) ( 0 => string(6) ":value" ) ) 1 => array(2) ( 0 => string(10) "max_length" 1 => array(2) ( 0 => string(6) ":value" 1 => integer 128 ) ) ) public callbacks => array(0) public object => object Model_Container_Cat(14) { *RECURSION* } }
"desc" => object Sprig_Field_Text(18){ public min_length => NULL public max_length => integer 4096 public empty => bool TRUE public primary => bool FALSE public unique => bool FALSE public null => bool FALSE public editable => bool TRUE public default => string(0) "" public choices => NULL public column => string(4) "desc" public label => string(16) "Описание" public description => string(0) "" public attributes => NULL public in_db => bool TRUE public filters => array(0) public rules => array(1) ( 0 => array(2) ( 0 => string(10) "max_length" 1 => array(2) ( 0 => string(6) ":value" 1 => integer 4096 ) ) ) public callbacks => array(0) public object => object Model_Container_Cat(14) { *RECURSION* } }
"image" => object Sprig_Field_Images(25){ public directory => string(15) "containers_cat/" public sizes => array(2) ( "default" => array(3) ( "func" => string(16) "Sprig_Copy::crop" "params" => array(2) ( "width" => integer 75 "height" => integer 75 ) "default" => string(35) "http://metal-box.ru/e-pix/75-75.pix" ) "main" => array(2) ( "func" => string(18) "Sprig_Copy::resize" "params" => array(2) ( "width" => integer 267 "height" => integer 193 ) ) ) public types => array(4) ( 0 => string(3) "jpg" 1 => string(4) "jpeg" 2 => string(3) "png" 3 => string(3) "gif" ) public base_dir => string(32) "/var/www/metal-box.ru.v2/upload/" public tmp_dir => string(4) "tmp/" public url => string(27) "http://metal-box.ru/upload/" public empty_image => NULL public min_length => NULL public max_length => NULL public empty => bool TRUE public primary => bool FALSE public unique => bool FALSE public null => bool FALSE public editable => bool TRUE public default => string(0) "" public choices => NULL public column => string(5) "image" public label => string(22) "Изображение" public description => string(0) "" public attributes => NULL public in_db => bool TRUE public filters => array(0) public rules => array(2) ( 0 => array(2) ( 0 => array(2) ( 0 => object Sprig_Field_Images(25) { *RECURSION* } 1 => string(12) "_check_empty" ) 1 => array(3) ( 0 => string(11) ":validation" 1 => string(6) ":field" 2 => string(6) ":value" ) ) 1 => array(2) ( 0 => array(2) ( 0 => object Sprig_Field_Images(25) { *RECURSION* } 1 => string(13) "_upload_image" ) 1 => array(3) ( 0 => string(11) ":validation" 1 => string(6) ":field" 2 => string(6) ":value" ) ) ) public callbacks => array(0) public object => object Model_Container_Cat(14) { *RECURSION* } }
"feature_gross" => object Sprig_Field_Integer(18){ public min_value => NULL public max_value => NULL public empty => bool TRUE public primary => bool FALSE public unique => bool FALSE public null => bool FALSE public editable => bool TRUE public default => integer 0 public choices => NULL public column => string(13) "feature_gross" public label => string(52) "Максимальная масса бруто, кг" public description => string(0) "" public attributes => NULL public in_db => bool TRUE public filters => array(0) public rules => array(0) public callbacks => array(0) public object => object Model_Container_Cat(14) { *RECURSION* } }
"feature_tare" => object Sprig_Field_Integer(18){ public min_value => NULL public max_value => NULL public empty => bool TRUE public primary => bool FALSE public unique => bool FALSE public null => bool FALSE public editable => bool TRUE public default => integer 0 public choices => NULL public column => string(12) "feature_tare" public label => string(25) "Масса тары, кг" public description => string(0) "" public attributes => NULL public in_db => bool TRUE public filters => array(0) public rules => array(0) public callbacks => array(0) public object => object Model_Container_Cat(14) { *RECURSION* } }
"feature_payload" => object Sprig_Field_Integer(18){ public min_value => NULL public max_value => NULL public empty => bool TRUE public primary => bool FALSE public unique => bool FALSE public null => bool FALSE public editable => bool TRUE public default => integer 0 public choices => NULL public column => string(15) "feature_payload" public label => string(39) "Полезная нагрузка, кг" public description => string(0) "" public attributes => NULL public in_db => bool TRUE public filters => array(0) public rules => array(0) public callbacks => array(0) public object => object Model_Container_Cat(14) { *RECURSION* } }
"feature_volume" => object Sprig_Field_Integer(18){ public min_value => NULL public max_value => NULL public empty => bool TRUE public primary => bool FALSE public unique => bool FALSE public null => bool FALSE public editable => bool TRUE public default => integer 0 public choices => NULL public column => string(14) "feature_volume" public label => string(15) "Объем, м3" public description => string(0) "" public attributes => NULL public in_db => bool TRUE public filters => array(0) public rules => array(0) public callbacks => array(0) public object => object Model_Container_Cat(14) { *RECURSION* } }
"feature_piling" => object Sprig_Field_Char(18){ public min_length => NULL public max_length => integer 64 public empty => bool TRUE public primary => bool FALSE public unique => bool FALSE public null => bool FALSE public editable => bool TRUE public default => string(0) "" public choices => NULL public column => string(14) "feature_piling" public label => string(28) "Штабелирование" public description => string(0) "" public attributes => NULL public in_db => bool TRUE public filters => array(0) public rules => array(1) ( 0 => array(2) ( 0 => string(10) "max_length" 1 => array(2) ( 0 => string(6) ":value" 1 => integer 64 ) ) ) public callbacks => array(0) public object => object Model_Container_Cat(14) { *RECURSION* } }
"feature_forks" => object Sprig_Field_Char(18){ public min_length => NULL public max_length => integer 64 public empty => bool TRUE public primary => bool FALSE public unique => bool FALSE public null => bool FALSE public editable => bool TRUE public default => string(0) "" public choices => NULL public column => string(13) "feature_forks" public label => string(26) "Проемы для вил" public description => string(0) "" public attributes => NULL public in_db => bool TRUE public filters => array(0) public rules => array(1) ( 0 => array(2) ( 0 => string(10) "max_length" 1 => array(2) ( 0 => string(6) ":value" 1 => integer 64 ) ) ) public callbacks => array(0) public object => object Model_Container_Cat(14) { *RECURSION* } }
"sizeout_length" => object Sprig_Field_Integer(18){ public min_value => NULL public max_value => NULL public empty => bool TRUE public primary => bool FALSE public unique => bool FALSE public null => bool FALSE public editable => bool TRUE public default => integer 0 public choices => NULL public column => string(14) "sizeout_length" public label => string(18) "Длинна, мм" public description => string(0) "" public attributes => NULL public in_db => bool TRUE public filters => array(0) public rules => array(0) public callbacks => array(0) public object => object Model_Container_Cat(14) { *RECURSION* } }
"sizeout_width" => object Sprig_Field_Integer(18){ public min_value => NULL public max_value => NULL public empty => bool TRUE public primary => bool FALSE public unique => bool FALSE public null => bool FALSE public editable => bool TRUE public default => integer 0 public choices => NULL public column => string(13) "sizeout_width" public label => string(18) "Ширина, мм" public description => string(0) "" public attributes => NULL public in_db => bool TRUE public filters => array(0) public rules => array(0) public callbacks => array(0) public object => object Model_Container_Cat(14) { *RECURSION* } }
"sizeout_height" => object Sprig_Field_Integer(18){ public min_value => NULL public max_value => NULL public empty => bool TRUE public primary => bool FALSE public unique => bool FALSE public null => bool FALSE public editable => bool TRUE public default => integer 0 public choices => NULL public column => string(14) "sizeout_height" public label => string(18) "Высота, мм" public description => string(0) "" public attributes => NULL public in_db => bool TRUE public filters => array(0) public rules => array(0) public callbacks => array(0) public object => object Model_Container_Cat(14) { *RECURSION* } }
"sizein_length" => object Sprig_Field_Integer(18){ public min_value => NULL public max_value => NULL public empty => bool TRUE public primary => bool FALSE public unique => bool FALSE public null => bool FALSE public editable => bool TRUE public default => integer 0 public choices => NULL public column => string(13) "sizein_length" public label => string(18) "Длинна, мм" public description => string(0) "" public attributes => NULL public in_db => bool TRUE public filters => array(0) public rules => array(0) public callbacks => array(0) public object => object Model_Container_Cat(14) { *RECURSION* } }
"sizein_width" => object Sprig_Field_Integer(18){ public min_value => NULL public max_value => NULL public empty => bool TRUE public primary => bool FALSE public unique => bool FALSE public null => bool FALSE public editable => bool TRUE public default => integer 0 public choices => NULL public column => string(12) "sizein_width" public label => string(18) "Ширина, мм" public description => string(0) "" public attributes => NULL public in_db => bool TRUE public filters => array(0) public rules => array(0) public callbacks => array(0) public object => object Model_Container_Cat(14) { *RECURSION* } }
"sizein_height" => object Sprig_Field_Integer(18){ public min_value => NULL public max_value => NULL public empty => bool TRUE public primary => bool FALSE public unique => bool FALSE public null => bool FALSE public editable => bool TRUE public default => integer 0 public choices => NULL public column => string(13) "sizein_height" public label => string(18) "Высота, мм" public description => string(0) "" public attributes => NULL public in_db => bool TRUE public filters => array(0) public rules => array(0) public callbacks => array(0) public object => object Model_Container_Cat(14) { *RECURSION* } }
"doorway_width" => object Sprig_Field_Integer(18){ public min_value => NULL public max_value => NULL public empty => bool TRUE public primary => bool FALSE public unique => bool FALSE public null => bool FALSE public editable => bool TRUE public default => integer 0 public choices => NULL public column => string(13) "doorway_width" public label => string(18) "Ширина, мм" public description => string(0) "" public attributes => NULL public in_db => bool TRUE public filters => array(0) public rules => array(0) public callbacks => array(0) public object => object Model_Container_Cat(14) { *RECURSION* } }
"doorway_height" => object Sprig_Field_Integer(18){ public min_value => NULL public max_value => NULL public empty => bool TRUE public primary => bool FALSE public unique => bool FALSE public null => bool FALSE public editable => bool TRUE public default => integer 0 public choices => NULL public column => string(14) "doorway_height" public label => string(18) "Высота, мм" public description => string(0) "" public attributes => NULL public in_db => bool TRUE public filters => array(0) public rules => array(0) public callbacks => array(0) public object => object Model_Container_Cat(14) { *RECURSION* } }
"visible" => object Sprig_Field_Boolean(17){ public empty => bool TRUE public default => bool TRUE public append_label => bool FALSE public primary => bool FALSE public unique => bool FALSE public null => bool FALSE public editable => bool TRUE public choices => NULL public column => string(7) "visible" public label => string(18) "Видимость" public description => string(0) "" public attributes => NULL public in_db => bool TRUE public filters => array(0) public rules => array(0) public callbacks => array(0) public object => object Model_Container_Cat(14) { *RECURSION* } }
"deals" => object Sprig_Field_Boolean(17){ public empty => bool TRUE public default => bool FALSE public append_label => bool FALSE public primary => bool FALSE public unique => bool FALSE public null => bool FALSE public editable => bool TRUE public choices => NULL public column => string(5) "deals" public label => string(30) "Спецпредложения" public description => string(83) "одновременно активно только на одном размере" public attributes => NULL public in_db => bool TRUE public filters => array(0) public rules => array(0) public callbacks => array(0) public object => object Model_Container_Cat(14) { *RECURSION* } }
"sort" => object Sprig_Field_Integer(18){ public min_value => NULL public max_value => NULL public empty => bool TRUE public primary => bool FALSE public unique => bool FALSE public null => bool FALSE public editable => bool TRUE public default => integer 0 public choices => NULL public column => string(4) "sort" public label => string(20) "Сортировка" public description => string(0) "" public attributes => NULL public in_db => bool TRUE public filters => array(0) public rules => array(0) public callbacks => array(0) public object => object Model_Container_Cat(14) { *RECURSION* } }
"meta_title" => object Sprig_Field_Char(18){ public min_length => NULL public max_length => integer 255 public empty => bool TRUE public primary => bool FALSE public unique => bool FALSE public null => bool FALSE public editable => bool TRUE public default => string(0) "" public choices => NULL public column => string(10) "meta_title" public label => string(5) "Title" public description => string(0) "" public attributes => NULL public in_db => bool TRUE public filters => array(0) public rules => array(1) ( 0 => array(2) ( 0 => string(10) "max_length" 1 => array(2) ( 0 => string(6) ":value" 1 => integer 255 ) ) ) public callbacks => array(0) public object => object Model_Container_Cat(14) { *RECURSION* } }
"meta_keywords" => object Sprig_Field_Char(18){ public min_length => NULL public max_length => integer 255 public empty => bool TRUE public primary => bool FALSE public unique => bool FALSE public null => bool FALSE public editable => bool TRUE public default => string(0) "" public choices => NULL public column => string(13) "meta_keywords" public label => string(13) "META keywords" public description => string(0) "" public attributes => NULL public in_db => bool TRUE public filters => array(0) public rules => array(1) ( 0 => array(2) ( 0 => string(10) "max_length" 1 => array(2) ( 0 => string(6) ":value" 1 => integer 255 ) ) ) public callbacks => array(0) public object => object Model_Container_Cat(14) { *RECURSION* } }
"meta_description" => object Sprig_Field_Char(18){ public min_length => NULL public max_length => integer 255 public empty => bool TRUE public primary => bool FALSE public unique => bool FALSE public null => bool FALSE public editable => bool TRUE public default => string(0) "" public choices => NULL public column => string(16) "meta_description" public label => string(16) "META description" public description => string(0) "" public attributes => NULL public in_db => bool TRUE public filters => array(0) public rules => array(1) ( 0 => array(2) ( 0 => string(10) "max_length" 1 => array(2) ( 0 => string(6) ":value" 1 => integer 255 ) ) ) public callbacks => array(0) public object => object Model_Container_Cat(14) { *RECURSION* } }
"meta_h1" => object Sprig_Field_Char(18){ public min_length => NULL public max_length => integer 255 public empty => bool TRUE public primary => bool FALSE public unique => bool FALSE public null => bool FALSE public editable => bool TRUE public default => string(0) "" public choices => NULL public column => string(7) "meta_h1" public label => string(2) "H1" public description => string(0) "" public attributes => NULL public in_db => bool TRUE public filters => array(0) public rules => array(1) ( 0 => array(2) ( 0 => string(10) "max_length" 1 => array(2) ( 0 => string(6) ":value" 1 => integer 255 ) ) ) public callbacks => array(0) public object => object Model_Container_Cat(14) { *RECURSION* } }
) protected _primary_key => string(2) "id" protected _init => bool TRUE protected _state => string(6) "loaded" protected _original => array(25) ( "id" => integer 1 "title" => string(57) "Морские контейнеры 20 футов (DV/HC)" "desc" => string(2008) "6 причин, по которым вы будете удовлетворены сотрудничеством с компанией Метал Бокс: 1) Наши надежные контейнеры 20 футов …" "image" => string(26) "2fef2d2f_5285de85118de.png" "feature_gross" => integer 30400 "feature_tare" => integer 2200 "feature_payload" => integer 28200 "feature_volume" => integer 33 "feature_piling" => string(14) "9 ярусов" "feature_forks" => string(10) "2 или 4" "sizeout_length" => integer 6058 "sizeout_width" => integer 2438 "sizeout_height" => integer 2591 "sizein_length" => integer 5905 "sizein_width" => integer 2350 "sizein_height" => integer 2381 "doorway_width" => integer 2336 "doorway_height" => integer 2291 "visible" => bool TRUE "deals" => bool FALSE "sort" => integer 1 "meta_title" => string(233) "Купить новый или б/у морской металлический контейнер 20 футов/тонн/кубов/м3. Дешевые 20 футовые контейнеры по низкой цене в Моск …" "meta_keywords" => string(0) "" "meta_description" => string(211) "Контейнер 20 футов б/у от 35.000 руб. Контейнер 20 футов новый от 140.000 руб. Высокое качество! Доставка! Звоните ☎ 8 (495) 722 …" "meta_h1" => string(57) "Морские контейнеры 20 футов (DV/HC)" ) protected _changed => array(0) protected _related => array(0) protected _with => array(0) protected _init_related => bool FALSE }{ public name => string(43) "Купить контейнер: форма" public title => string(0) "" public sort => integer 10 protected _model => string(22) "_page_containerbuyform" protected _db => string(7) "default" protected _table => string(23) "_page_containerbuyforms" protected _fields => array(2) ( "contacts" => object Sprig_Field_Wysiwyg(19)
"form" => object Model_Temail_Container_Buy(14){ public content_css => string(0) "" public min_length => NULL public max_length => NULL public empty => bool TRUE public primary => bool FALSE public unique => bool FALSE public null => bool FALSE public editable => bool TRUE public default => string(0) "" public choices => NULL public column => string(8) "contacts" public label => string(16) "Контакты" public description => string(0) "" public attributes => NULL public in_db => bool TRUE public filters => array(0) public rules => array(0) public callbacks => array(0) public object => object Option_Page_ContainerBuyForm(17) { *RECURSION* } }
"desc" => object Sprig_Field_Wysiwyg(19){ public content_css => string(0) "" public min_length => NULL public max_length => NULL public empty => bool TRUE public primary => bool FALSE public unique => bool FALSE public null => bool FALSE public editable => bool TRUE public default => string(0) "" public choices => NULL public column => string(4) "desc" public label => string(16) "Описание" public description => string(0) "" public attributes => NULL public in_db => bool TRUE public filters => array(0) public rules => array(0) public callbacks => array(0) public object => object Option_Page_ContainerBuyForm(17) { *RECURSION* } }
) protected _primary_key => NULL protected _title_key => string(4) "name" protected _sorting => NULL protected _init => bool TRUE protected _state => string(6) "loaded" protected _original => array(2) ( "contacts" => string(0) "" "desc" => string(0) "" ) protected _changed => array(0) protected _related => array(0) protected _with => array(0) protected _init_related => bool FALSE }{ protected _model => string(20) "temail_container_buy" protected _db => string(7) "default" protected _table => string(21) "temail_container_buys" protected _fields => array(12) ( "cat" => object Sprig_Field_BelongsTo(19)
){ public in_db => bool TRUE public null => bool FALSE public model => string(13) "container_cat" public min_length => NULL public max_length => NULL public empty => bool FALSE public primary => bool FALSE public unique => bool FALSE public editable => bool TRUE public default => string(0) "" public choices => NULL public column => string(3) "cat" public label => string(27) "Тип контейнера" public description => string(0) "" public attributes => NULL public filters => array(0) public rules => array(1) ( 0 => array(2) ( 0 => string(9) "not_empty" 1 => array(1) ( 0 => string(6) ":value" ) ) ) public callbacks => array(0) public object => object Model_Temail_Container_Buy(14) { *RECURSION* } }
"price" => object Sprig_Field_ContainerPrice(21){ public none => bool FALSE public rel => string(3) "cat" public in_db => bool TRUE public null => bool FALSE public model => string(19) "container_cat_price" public min_length => NULL public max_length => NULL public empty => bool FALSE public primary => bool FALSE public unique => bool FALSE public editable => bool TRUE public default => string(0) "" public choices => NULL public column => string(5) "price" public label => string(33) "Ценовая категория" public description => string(0) "" public attributes => NULL public filters => array(0) public rules => array(1) ( 0 => array(2) ( 0 => string(9) "not_empty" 1 => array(1) ( 0 => string(6) ":value" ) ) ) public callbacks => array(0) public object => object Model_Temail_Container_Buy(14) { *RECURSION* } }
"count" => object Sprig_Field_Integer(18){ public min_value => NULL public max_value => NULL public empty => bool TRUE public primary => bool FALSE public unique => bool FALSE public null => bool FALSE public editable => bool TRUE public default => string(0) "" public choices => NULL public column => string(5) "count" public label => string(34) "Кол-во контейнеров" public description => string(0) "" public attributes => NULL public in_db => bool TRUE public filters => array(0) public rules => array(0) public callbacks => array(0) public object => object Model_Temail_Container_Buy(14) { *RECURSION* } }
"fio" => object Sprig_Field_Char(18){ public min_length => NULL public max_length => integer 255 public empty => bool FALSE public primary => bool FALSE public unique => bool FALSE public null => bool FALSE public editable => bool TRUE public default => string(0) "" public choices => NULL public column => string(3) "fio" public label => string(15) "Ваше имя" public description => string(0) "" public attributes => NULL public in_db => bool TRUE public filters => array(0) public rules => array(2) ( 0 => array(2) ( 0 => string(9) "not_empty" 1 => array(1) ( 0 => string(6) ":value" ) ) 1 => array(2) ( 0 => string(10) "max_length" 1 => array(2) ( 0 => string(6) ":value" 1 => integer 255 ) ) ) public callbacks => array(0) public object => object Model_Temail_Container_Buy(14) { *RECURSION* } }
"email" => object Sprig_Field_Email(19){ public multi => bool FALSE public min_length => NULL public max_length => integer 255 public empty => bool TRUE public primary => bool FALSE public unique => bool FALSE public null => bool FALSE public editable => bool TRUE public default => string(0) "" public choices => NULL public column => string(5) "email" public label => string(5) "Email" public description => string(0) "" public attributes => NULL public in_db => bool TRUE public filters => array(0) public rules => array(2) ( 0 => array(2) ( 0 => string(5) "email" 1 => array(1) ( 0 => string(6) ":value" ) ) 1 => array(2) ( 0 => string(10) "max_length" 1 => array(2) ( 0 => string(6) ":value" 1 => integer 255 ) ) ) public callbacks => array(0) public object => object Model_Temail_Container_Buy(14) { *RECURSION* } }
"phone" => object Sprig_Field_Char(18){ public min_length => NULL public max_length => integer 255 public empty => bool FALSE public primary => bool FALSE public unique => bool FALSE public null => bool FALSE public editable => bool TRUE public default => string(0) "" public choices => NULL public column => string(5) "phone" public label => string(14) "Телефон" public description => string(0) "" public attributes => NULL public in_db => bool TRUE public filters => array(0) public rules => array(2) ( 0 => array(2) ( 0 => string(9) "not_empty" 1 => array(1) ( 0 => string(6) ":value" ) ) 1 => array(2) ( 0 => string(10) "max_length" 1 => array(2) ( 0 => string(6) ":value" 1 => integer 255 ) ) ) public callbacks => array(0) public object => object Model_Temail_Container_Buy(14) { *RECURSION* } }
"pay_details" => object Sprig_Field_Text(18){ public min_length => NULL public max_length => integer 4096 public empty => bool TRUE public primary => bool FALSE public unique => bool FALSE public null => bool FALSE public editable => bool TRUE public default => string(0) "" public choices => NULL public column => string(11) "pay_details" public label => string(38) "Реквизиты для оплаты" public description => string(0) "" public attributes => NULL public in_db => bool TRUE public filters => array(0) public rules => array(1) ( 0 => array(2) ( 0 => string(10) "max_length" 1 => array(2) ( 0 => string(6) ":value" 1 => integer 4096 ) ) ) public callbacks => array(0) public object => object Model_Temail_Container_Buy(14) { *RECURSION* } }
"pay_details_file" => object Sprig_Field_Upload(22){ public path => string(15) "containers_buy/" public types => NULL public base_dir => string(32) "/var/www/metal-box.ru.v2/upload/" public url => string(27) "http://metal-box.ru/upload/" public min_length => NULL public max_length => NULL public empty => bool TRUE public primary => bool FALSE public unique => bool FALSE public null => bool FALSE public editable => bool TRUE public default => string(0) "" public choices => NULL public column => string(16) "pay_details_file" public label => string(37) "Загрузить реквизиты" public description => string(0) "" public attributes => NULL public in_db => bool TRUE public filters => array(0) public rules => array(2) ( 0 => array(2) ( 0 => array(2) ( 0 => object Sprig_Field_Upload(22) { *RECURSION* } 1 => string(12) "_check_empty" ) 1 => array(2) ( 0 => string(11) ":validation" 1 => string(6) ":field" ) ) 1 => array(2) ( 0 => array(2) ( 0 => object Sprig_Field_Upload(22) { *RECURSION* } 1 => string(7) "_upload" ) 1 => array(2) ( 0 => string(11) ":validation" 1 => string(6) ":field" ) ) ) public callbacks => array(0) public object => object Model_Temail_Container_Buy(14) { *RECURSION* } }
"address" => object Sprig_Field_Text(18){ public min_length => NULL public max_length => integer 4096 public empty => bool TRUE public primary => bool FALSE public unique => bool FALSE public null => bool FALSE public editable => bool TRUE public default => string(0) "" public choices => NULL public column => string(7) "address" public label => string(55) "Адрес для доставки контейнера" public description => string(0) "" public attributes => NULL public in_db => bool TRUE public filters => array(0) public rules => array(1) ( 0 => array(2) ( 0 => string(10) "max_length" 1 => array(2) ( 0 => string(6) ":value" 1 => integer 4096 ) ) ) public callbacks => array(0) public object => object Model_Temail_Container_Buy(14) { *RECURSION* } }
"crane" => object Sprig_Field_Radio(19){ public default => NULL public none => bool FALSE public min_length => NULL public max_length => NULL public empty => bool FALSE public primary => bool FALSE public unique => bool FALSE public null => bool FALSE public editable => bool TRUE public choices => array(2) ( 1 => string(8) "Есть" 2 => string(6) "Нет" ) public column => string(5) "crane" public label => string(79) "Наличие подъемного крана на месте доставки" public description => string(0) "" public attributes => NULL public in_db => bool TRUE public filters => array(0) public rules => array(2) ( 0 => array(2) ( 0 => string(9) "not_empty" 1 => array(1) ( 0 => string(6) ":value" ) ) 1 => array(2) ( 0 => string(8) "in_array" 1 => array(2) ( 0 => string(6) ":value" 1 => array(2) ( 0 => integer 1 1 => integer 2 ) ) ) ) public callbacks => array(0) public object => object Model_Temail_Container_Buy(14) { *RECURSION* } }
"comment" => object Sprig_Field_Text(18){ public min_length => NULL public max_length => integer 4096 public empty => bool TRUE public primary => bool FALSE public unique => bool FALSE public null => bool FALSE public editable => bool TRUE public default => string(0) "" public choices => NULL public column => string(7) "comment" public label => string(43) "Комментарий к <br/>заказу" public description => string(0) "" public attributes => NULL public in_db => bool TRUE public filters => array(0) public rules => array(1) ( 0 => array(2) ( 0 => string(10) "max_length" 1 => array(2) ( 0 => string(6) ":value" 1 => integer 4096 ) ) ) public callbacks => array(0) public object => object Model_Temail_Container_Buy(14) { *RECURSION* } }
"captcha" => object Sprig_Field_Char(18){ public min_length => NULL public max_length => integer 32 public empty => bool TRUE public primary => bool FALSE public unique => bool FALSE public null => bool FALSE public editable => bool TRUE public default => string(0) "" public choices => NULL public column => string(7) "captcha" public label => string(6) "Код" public description => string(0) "" public attributes => NULL public in_db => bool TRUE public filters => array(0) public rules => array(2) ( 0 => array(2) ( 0 => array(2) ( 0 => object Model_Temail_Container_Buy(14) { *RECURSION* } 1 => string(13) "check_captcha" ) 1 => array(1) ( 0 => string(6) ":value" ) ) 1 => array(2) ( 0 => string(10) "max_length" 1 => array(2) ( 0 => string(6) ":value" 1 => integer 32 ) ) ) public callbacks => array(0) public object => object Model_Temail_Container_Buy(14) { *RECURSION* } }
) protected _primary_key => NULL protected _title_key => string(4) "name" protected _sorting => NULL protected _init => bool TRUE protected _state => string(3) "new" protected _original => array(12) ( "cat" => string(0) "" "price" => string(0) "" "count" => NULL "fio" => string(0) "" "email" => string(0) "" "phone" => string(0) "" "pay_details" => string(0) "" "pay_details_file" => string(0) "" "address" => string(0) "" "crane" => NULL "comment" => string(0) "" "captcha" => string(0) "" ) protected _changed => array(1) ( "cat" => integer 1 ) protected _related => array(0) protected _with => array(0) protected _init_related => bool FALSE }66 67 $info = Model_Site::get_config('containerbuyform'); 68 69 $form = Sprig::factory('temail_container_buy'); 70 $form->cat = $category->id; 71 $form->price = $price->id; 72 73 $data = array( 74 'category' => $category, 75 'price' => $price, 76 'info' => $info,
-
{PHP internal call} » Controller_Container->action_buy_form()
-
SYSPATH/classes/kohana/request/client/internal.php [ 118 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Container(6)
{ public template => object Theme_View(3)
{ public theme => string(4) "site" protected _file => string(60) "/var/www/metal-box.ru.v2/application/views/site/template.php" protected _data => array(0) }
public auto_render => bool TRUE public theme => string(4) "site" public request => object Request(21){ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool FALSE protected _referrer => string(46) "http://metal-box.ru/containers-buy/c1/p21/form" protected _route => object Route(5)
public response => object Response(5){ protected _callback => NULL protected _uri => string(34) "containers-buy/c<cg>/p<price>/form" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(9) "container" "action" => string(8) "buy_form" ) protected _route_regex => string(72) "#^containers-buy/c(?P<cg>[^/.,;?\n]++)/p(?P<price>[^/.,;?\n]++)/form$#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(8) "HTTP/1.0" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(9) "container" protected _action => string(8) "buy_form" protected _uri => string(26) "containers-buy/c1/p21/form" protected _external => bool FALSE protected _params => array(2) ( "cg" => string(1) "1" "price" => string(2) "21" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(2){ protected _previous_environment => NULL protected _cache => NULL }
public _injected_routes => array(0) }{ protected _status => integer 200 protected _header => object HTTP_Header(0)
public tpl => object Tpl(6){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }{ protected _crumblinks => array(0) protected _js => array(0) protected _js_text => array(0) protected _links => array(0) protected _css_text => array(0) protected _meta => array(3) ( "generator" => string(14) "AltConstructor" "keywords" => NULL "description" => NULL ) }
}113 throw new HTTP_Exception_404('The requested URL :uri was not found on this server.', 114 array(':uri' => $request->uri())); 115 } 116 117 $method = $class->getMethod('action_'.$action); 118 $method->invoke($controller); 119 120 // Execute the "after action" method 121 $class->getMethod('after')->invoke($controller); 122 } 123 catch (Exception $e)
-
SYSPATH/classes/kohana/request/client.php [ 64 ] » Kohana_Request_Client_Internal->execute_request(arguments)
0
object Request(21)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool FALSE protected _referrer => string(46) "http://metal-box.ru/containers-buy/c1/p21/form" protected _route => object Route(5)
{ protected _callback => NULL protected _uri => string(34) "containers-buy/c<cg>/p<price>/form" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(9) "container" "action" => string(8) "buy_form" ) protected _route_regex => string(72) "#^containers-buy/c(?P<cg>[^/.,;?\n]++)/p(?P<price>[^/.,;?\n]++)/form$#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(8) "HTTP/1.0" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(9) "container" protected _action => string(8) "buy_form" protected _uri => string(26) "containers-buy/c1/p21/form" protected _external => bool FALSE protected _params => array(2) ( "cg" => string(1) "1" "price" => string(2) "21" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(2){ protected _previous_environment => NULL protected _cache => NULL }
public _injected_routes => array(0) }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 [ 1138 ] » Kohana_Request_Client->execute(arguments)
0
object Request(21)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool FALSE protected _referrer => string(46) "http://metal-box.ru/containers-buy/c1/p21/form" protected _route => object Route(5)
{ protected _callback => NULL protected _uri => string(34) "containers-buy/c<cg>/p<price>/form" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(9) "container" "action" => string(8) "buy_form" ) protected _route_regex => string(72) "#^containers-buy/c(?P<cg>[^/.,;?\n]++)/p(?P<price>[^/.,;?\n]++)/form$#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(8) "HTTP/1.0" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(9) "container" protected _action => string(8) "buy_form" protected _uri => string(26) "containers-buy/c1/p21/form" protected _external => bool FALSE protected _params => array(2) ( "cg" => string(1) "1" "price" => string(2) "21" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(2){ protected _previous_environment => NULL protected _cache => NULL }
public _injected_routes => array(0) }1133 throw new 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 [ 142 ] » Kohana_Request->execute()
137 138 $request = Request::factory(); 139 140 try { 141 142 $request = $request->execute(); 143 144 } catch (Http_Exception_403 $e) { 145 146 Kohana::$log->add (Log::ERROR, $e->getMessage()); 147