MODPATH/database/classes/Kohana/Database/MySQL.php [ 114 ]
109 protected function _select_db($database)
110 {
111 if ( ! mysql_select_db($database, $this->_connection))
112 {
113 // Unable to select database
114 throw new Database_Exception(':error',
115 array(':error' => mysql_error($this->_connection)),
116 mysql_errno($this->_connection));
117 }
118
119 Database_MySQL::$_current_databases[$this->_connection_id] = $database;
-
MODPATH/database/classes/Kohana/Database/MySQL.php [ 75 ] » Kohana_Database_MySQL->_select_db(arguments)
0string(12) "yeastinf_oms"70 } 71 72 // \xFF is a better delimiter, but the PHP driver uses underscore 73 $this->_connection_id = sha1($hostname.'_'.$username.'_'.$password); 74 75 $this->_select_db($database); 76 77 if ( ! empty($this->_config['charset'])) 78 { 79 // Set the character set 80 $this->set_charset($this->_config['charset']); -
MODPATH/database/classes/Kohana/Database/MySQL.php [ 194 ] » Kohana_Database_MySQL->connect()
189 } 190 191 public function query($type, $sql, $as_object = FALSE, array $params = NULL) 192 { 193 // Make sure the database is connected 194 $this->_connection or $this->connect(); 195 196 if (Kohana::$profiling) 197 { 198 // Benchmark this query for the current instance 199 $benchmark = Profiler::start("Database ({$this->_instance})", $sql); -
MODPATH/database/classes/Kohana/Database/MySQL.php [ 381 ] » Kohana_Database_MySQL->query(arguments)
0integer 1
1string(31) "SHOW FULL COLUMNS FROM `clicks`"2bool FALSE
376 $result = $this->query(Database::SELECT, 'SHOW FULL COLUMNS FROM '.$table.' LIKE '.$this->quote($like), FALSE); 377 } 378 else 379 { 380 // Find all column names 381 $result = $this->query(Database::SELECT, 'SHOW FULL COLUMNS FROM '.$table, FALSE); 382 } 383 384 $count = 0; 385 $columns = array(); 386 foreach ($result as $row) -
MODPATH/orm/classes/Kohana/ORM.php [ 1665 ] » Kohana_Database_MySQL->list_columns(arguments)
0string(6) "clicks"1660 * @return array 1661 */ 1662 public function list_columns() 1663 { 1664 // Proxy to database 1665 return $this->_db->list_columns($this->_table_name); 1666 } 1667 1668 /** 1669 * Returns an ORM model for the given one-one related alias 1670 * -
MODPATH/orm/classes/Kohana/ORM.php [ 441 ] » Kohana_ORM->list_columns()
436 $this->_table_columns = ORM::$_column_cache[$this->_object_name]; 437 } 438 else 439 { 440 // Grab column information from database 441 $this->_table_columns = $this->list_columns(); 442 443 // Load column cache 444 ORM::$_column_cache[$this->_object_name] = $this->_table_columns; 445 } 446 } -
MODPATH/orm/classes/Kohana/ORM.php [ 386 ] » Kohana_ORM->reload_columns()
381 { 382 $this->{$property} = $value; 383 } 384 385 // Load column information 386 $this->reload_columns(); 387 388 // Clear initial model state 389 $this->clear(); 390 } 391 -
MODPATH/orm/classes/Kohana/ORM.php [ 254 ] » Kohana_ORM->_initialize()
249 * 250 * @param mixed $id Parameter for find or object to load 251 */ 252 public function __construct($id = NULL) 253 { 254 $this->_initialize(); 255 256 if ($id !== NULL) 257 { 258 if (is_array($id)) 259 { -
MODPATH/orm/classes/Kohana/ORM.php [ 46 ] » Kohana_ORM->__construct(arguments)
0NULL
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/classes/Controller/System.php [ 984 ] » Kohana_ORM::factory(arguments)
0string(5) "Click"979 ))); 980 981 } 982 983 public function action_catch_click() { 984 $click = ORM::factory('Click'); 985 //var_dump($this->request->post()); 986 987 $post = $this->request->post(); 988 989 if (!empty($post)) { -
SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_System->action_catch_click()
79 array(':uri' => $this->request->uri()) 80 )->request($this->request); 81 } 82 83 // Execute the action itself 84 $this->{$action}(); 85 86 // Execute the "after action" method 87 $this->after(); 88 89 // Return the response -
{PHP internal call} » Kohana_Controller->execute()
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)
0object Controller_System(7)
{ protected _permissions => array(4) ( "admin" => array(18) ( "Order" => array(86) ( 0 => string(5) "index" 1 => string(11) "fix_address" 2 => string(21) "send_for_fullfillment" 3 => string(17) "send_for_deletion" 4 => string(10) "order_info" 5 => string(13) "modal_details" 6 => string(13) "modal_history" 7 => string(18) "modal_fullfillment" 8 => string(14) "modal_deletion" 9 => string(12) "modal_update" 10 => string(11) "get_address" 11 => string(12) "save_address" 12 => string(11) "get_details" 13 => string(12) "save_details" 14 => string(9) "new_order" 15 => string(6) "export" 16 => string(6) "delete" 17 => string(14) "deleted_orders" 18 => string(9) "dashboard" 19 => string(20) "get_orders_for_merge" 20 => string(5) "merge" 21 => string(6) "report" 22 => string(11) "save_status" 23 => string(11) "save_amount" 24 => string(13) "save_campaign" 25 => string(14) "save_affiliate" 26 => string(13) "save_shipping" 27 => string(14) "save_shipping2" 28 => string(6) "clicks" 29 => string(9) "errorlogs" 30 => string(8) "userlogs" 31 => string(9) "userlogs2" 32 => string(10) "updatelogs" 33 => string(14) "customermodule" 34 => string(7) "seemore" 35 => string(8) "seemore2" 36 => string(14) "manualDownload" 37 => string(15) "manualDownload2" 38 => string(8) "setemail" 39 => string(15) "setemail_update" 40 => string(16) "setemail_update2" 41 => string(13) "send_campaign" 42 => string(15) "send_campaign_2" 43 => string(12) "add_campaign" 44 => string(10) "xml_module" 45 => string(8) "mcmodule" 46 => string(13) "agents_module" 47 => string(16) "bottlecostmodule" 48 => string(19) "set_future_autofill" 49 => string(10) "update_acs" 50 => string(11) "update_acs2" 51 => string(21) "save_to_autofill_list" 52 => string(30) "process_manual_autofill_orders" 53 => string(29) "update_paypal_subscriber_list" 54 => string(14) "emailexclusion" 55 => string(22) "emailexclusion_add_new" 56 => string(21) "emailexclusion_remove" 57 => string(21) "blacklisted_customers" 58 => string(25) "add_blacklisted_customers" 59 => string(27) "remove_blacklisted_customer" 60 => string(14) "inventorylevel" 61 => string(7) "orders3" 62 => string(10) "orders_new" 63 => string(10) "upload_csv" 64 => string(13) "load_csv_list" 65 => string(4) "skus" 66 => string(15) "cancel_autofill" 67 => string(17) "manual_order_logs" 68 => string(7) "export2" 69 => string(19) "failed_transactions" 70 => string(28) "failed_transactions_autofill" 71 => string(9) "hhl_stats" 72 => string(12) "out_of_stock" 73 => string(18) "backordered_orders" 74 => string(14) "fraud_attempts" 75 => string(16) "checkout_pricing" 76 => string(13) "not_continued" 77 => string(12) "new_order_v2" 78 => string(25) "get_manual_order_products" 79 => string(15) "product_ad_cost" 80 => string(13) "rfm_module_v2" 81 => string(7) "domains" 82 => string(10) "settle_cyb" 83 => string(24) "update_affiliate_details" 84 => string(25) "update_affiliate_details2" 85 => string(13) "click_history" ) "Order2" => array(86) ( 0 => string(5) "index" 1 => string(11) "fix_address" 2 => string(21) "send_for_fullfillment" 3 => string(17) "send_for_deletion" 4 => string(10) "order_info" 5 => string(13) "modal_details" 6 => string(13) "modal_history" 7 => string(18) "modal_fullfillment" 8 => string(14) "modal_deletion" 9 => string(12) "modal_update" 10 => string(11) "get_address" 11 => string(12) "save_address" 12 => string(11) "get_details" 13 => string(12) "save_details" 14 => string(9) "new_order" 15 => string(6) "export" 16 => string(6) "delete" 17 => string(14) "deleted_orders" 18 => string(9) "dashboard" 19 => string(20) "get_orders_for_merge" 20 => string(5) "merge" 21 => string(6) "report" 22 => string(11) "save_status" 23 => string(11) "save_amount" 24 => string(13) "save_campaign" 25 => string(14) "save_affiliate" 26 => string(13) "save_shipping" 27 => string(14) "save_shipping2" 28 => string(6) "clicks" 29 => string(9) "errorlogs" 30 => string(8) "userlogs" 31 => string(9) "userlogs2" 32 => string(10) "updatelogs" 33 => string(14) "customermodule" 34 => string(7) "seemore" 35 => string(8) "seemore2" 36 => string(14) "manualDownload" 37 => string(15) "manualDownload2" 38 => string(8) "setemail" 39 => string(15) "setemail_update" 40 => string(16) "setemail_update2" 41 => string(13) "send_campaign" 42 => string(15) "send_campaign_2" 43 => string(12) "add_campaign" 44 => string(10) "xml_module" 45 => string(8) "mcmodule" 46 => string(13) "agents_module" 47 => string(16) "bottlecostmodule" 48 => string(19) "set_future_autofill" 49 => string(10) "update_acs" 50 => string(11) "update_acs2" 51 => string(21) "save_to_autofill_list" 52 => string(30) "process_manual_autofill_orders" 53 => string(29) "update_paypal_subscriber_list" 54 => string(14) "emailexclusion" 55 => string(22) "emailexclusion_add_new" 56 => string(21) "emailexclusion_remove" 57 => string(21) "blacklisted_customers" 58 => string(25) "add_blacklisted_customers" 59 => string(27) "remove_blacklisted_customer" 60 => string(14) "inventorylevel" 61 => string(7) "orders3" 62 => string(10) "orders_new" 63 => string(10) "upload_csv" 64 => string(13) "load_csv_list" 65 => string(4) "skus" 66 => string(15) "cancel_autofill" 67 => string(17) "manual_order_logs" 68 => string(7) "export2" 69 => string(19) "failed_transactions" 70 => string(28) "failed_transactions_autofill" 71 => string(9) "hhl_stats" 72 => string(12) "out_of_stock" 73 => string(18) "backordered_orders" 74 => string(14) "fraud_attempts" 75 => string(16) "checkout_pricing" 76 => string(13) "not_continued" 77 => string(12) "new_order_v2" 78 => string(25) "get_manual_order_products" 79 => string(15) "product_ad_cost" 80 => string(13) "rfm_module_v2" 81 => string(7) "domains" 82 => string(10) "settle_cyb" 83 => string(24) "update_affiliate_details" 84 => string(25) "update_affiliate_details2" 85 => string(13) "click_history" ) "Product" => array(5) ( 0 => string(5) "index" 1 => string(11) "new_product" 2 => string(3) "get" 3 => string(4) "save" 4 => string(6) "delete" ) "System" => array(8) ( 0 => string(5) "index" 1 => string(6) "logout" 2 => string(18) "scrape_cybersource" 3 => string(27) "scrape_fullfillment_invoice" 4 => string(35) "scrape_fullfillment_invoice_product" 5 => string(19) "scrape_fullfillment" 6 => string(15) "manual_download" 7 => string(16) "manual_download2" ) "User" => array(7) ( 0 => string(5) "index" 1 => string(18) "get_hidden_columns" 2 => string(19) "save_hidden_columns" 3 => string(20) "save_hidden_columns2" 4 => string(3) "get" 5 => string(4) "save" 6 => string(6) "delete" ) "Affiliate" => array(12) ( 0 => string(5) "index" 1 => string(3) "get" 2 => string(4) "save" 3 => string(6) "delete" 4 => string(15) "get_commissions" 5 => string(16) "save_commissions" 6 => string(12) "get_products" 7 => string(13) "save_products" 8 => string(9) "referrers" 9 => string(10) "referrers2" 10 => string(14) "referrers_dets" 11 => string(6) "widget" ) "Affiliatepayment" => array(6) ( 0 => string(5) "index" 1 => string(3) "get" 2 => string(4) "save" 3 => string(6) "delete" 4 => string(9) "calculate" 5 => string(3) "new" ) "Affiliatestat" => array(1) ( 0 => string(5) "index" ) "Subscriber" => array(30) ( 0 => string(5) "index" 1 => string(8) "payments" 2 => string(25) "update_subscriber_payment" 3 => string(24) "update_subscriber_status" 4 => string(4) "edit" 5 => string(14) "get_subscriber" 6 => string(17) "update_subscriber" 7 => string(10) "get_states" 8 => string(16) "view_transaction" 9 => string(5) "toPay" 10 => string(9) "cancelled" 11 => string(31) "update_subscriber_order_details" 12 => string(14) "adjust_payment" 13 => string(18) "update_subscriber2" 14 => string(14) "cancel_payment" 15 => string(16) "activate_payment" 16 => string(18) "manual_subscribers" 17 => string(27) "manual_subscribers_inactive" 18 => string(27) "manual_subscribers_calendar" 19 => string(23) "update_manual_subsciber" 20 => string(31) "manual_subscriber_payment_dates" 21 => string(38) "update_manual_subscriber_payment_dates" 22 => string(14) "get_to_process" 23 => string(18) "paypal_subscribers" 24 => string(28) "paypal_subscribers_suspended" 25 => string(27) "paypal_subscribers_inactive" 26 => string(5) "stats" 27 => string(4) "logs" 28 => string(9) "duplicate" 29 => string(6) "delete" ) "Paypal" => array(2) ( 0 => string(5) "index" 1 => string(14) "DownloadPaypal" ) "Invoice" => array(4) ( 0 => string(5) "index" 1 => string(4) "date" 2 => string(9) "affiliate" 3 => string(7) "product" ) "Fbapp" => array(26) ( 0 => string(5) "index" 1 => string(15) "add_app_product" 2 => string(10) "save_image" 3 => string(18) "delete_app_product" 4 => string(18) "update_app_product" 5 => string(15) "get_product_app" 6 => string(9) "schedules" 7 => string(17) "whitelist_domains" 8 => string(11) "save_domain" 9 => string(20) "view_update_schedule" 10 => string(4) "logs" 11 => string(10) "remove_log" 12 => string(8) "send_msg" 13 => string(9) "test_cron" 14 => string(10) "fb_compose" 15 => string(17) "send_composed_msg" 16 => string(16) "execute_schedule" 17 => string(12) "fb_marketing" 18 => string(4) "test" 19 => string(18) "follow_up_messages" 20 => string(11) "add_message" 21 => string(14) "remove_message" 22 => string(12) "edit_message" 23 => string(25) "execute_campaign_schedule" 24 => string(13) "alter_message" 25 => string(17) "get_message_order" ) "Customers" => array(26) ( 0 => string(5) "index" 1 => string(13) "get_customers" 2 => string(12) "get_customer" 3 => string(15) "save_customers2" 4 => string(8) "customer" 5 => string(16) "update_customers" 6 => string(15) "update_customer" 7 => string(12) "save_comment" 8 => string(13) "update_points" 9 => string(25) "update_subscriber_details" 10 => string(32) "update_subscriber_details_manual" 11 => string(19) "update_payment_date" 12 => string(26) "update_payment_date_manual" 13 => string(25) "add_blacklisted_customers" 14 => string(28) "remove_blacklisted_customers" 15 => string(9) "add_email" 16 => string(8) "send_sms" 17 => string(15) "portal_accounts" 18 => string(11) "show_ticket" 19 => string(18) "add_ticket_comment" 20 => string(15) "update_assignee" 21 => string(24) "update_reward_expiration" 22 => string(25) "update_reward_expiration2" 23 => string(20) "update_ticket_status" 24 => string(16) "create_new_order" 25 => string(32) "mark_autofill_reward_as_redeemed" ) "Coupons" => array(2) ( 0 => string(5) "index" 1 => string(7) "add_new" ) "Websitecontents" => array(2) ( 0 => string(5) "index" 1 => string(6) "update" ) "Openai" => array(2) ( 0 => string(5) "index" 1 => string(8) "fix_chat" ) "Dashboard" => array(1) ( 0 => string(5) "index" ) "Links" => array(1) ( 0 => string(5) "index" ) ) "staff" => array(12) ( "System" => array(2) ( 0 => string(6) "logout" 1 => string(5) "index" ) "User" => array(3) ( 0 => string(18) "get_hidden_columns" 1 => string(19) "save_hidden_columns" 2 => string(5) "index" ) "Order" => array(19) ( 0 => string(5) "index" 1 => string(11) "fix_address" 2 => string(10) "order_info" 3 => string(13) "modal_details" 4 => string(13) "modal_history" 5 => string(11) "get_address" 6 => string(12) "save_address" 7 => string(11) "get_details" 8 => string(12) "save_details" 9 => string(9) "new_order" 10 => string(6) "export" 11 => string(20) "get_orders_for_merge" 12 => string(5) "merge" 13 => string(6) "report" 14 => string(11) "save_status" 15 => string(11) "save_amount" 16 => string(13) "save_shipping" 17 => string(6) "clicks" 18 => string(16) "checkout_pricing" ) "Order2" => array(19) ( 0 => string(5) "index" 1 => string(11) "fix_address" 2 => string(10) "order_info" 3 => string(13) "modal_details" 4 => string(13) "modal_history" 5 => string(11) "get_address" 6 => string(12) "save_address" 7 => string(11) "get_details" 8 => string(12) "save_details" 9 => string(9) "new_order" 10 => string(6) "export" 11 => string(20) "get_orders_for_merge" 12 => string(5) "merge" 13 => string(6) "report" 14 => string(11) "save_status" 15 => string(11) "save_amount" 16 => string(13) "save_shipping" 17 => string(6) "clicks" 18 => string(16) "checkout_pricing" ) "Product" => array(5) ( 0 => string(5) "index" 1 => string(11) "new_product" 2 => string(3) "get" 3 => string(4) "save" 4 => string(6) "delete" ) "Affiliate" => array(8) ( 0 => string(5) "index" 1 => string(3) "get" 2 => string(4) "save" 3 => string(6) "delete" 4 => string(15) "get_commissions" 5 => string(16) "save_commissions" 6 => string(12) "get_products" 7 => string(13) "save_products" ) "Affiliatepayment" => array(6) ( 0 => string(5) "index" 1 => string(3) "get" 2 => string(4) "save" 3 => string(6) "delete" 4 => string(9) "calculate" 5 => string(3) "new" ) "Affiliatestat" => array(1) ( 0 => string(5) "index" ) "Subscriber" => array(13) ( 0 => string(5) "index" 1 => string(8) "payments" 2 => string(25) "update_subscriber_payment" 3 => string(24) "update_subscriber_status" 4 => string(4) "edit" 5 => string(14) "get_subscriber" 6 => string(17) "update_subscriber" 7 => string(10) "get_states" 8 => string(16) "view_transaction" 9 => string(14) "validate_batch" 10 => string(5) "toPay" 11 => string(9) "cancelled" 12 => string(31) "update_subscriber_order_details" ) "Paypal" => array(2) ( 0 => string(5) "index" 1 => string(14) "DownloadPaypal" ) "Invoice" => array(4) ( 0 => string(5) "index" 1 => string(4) "date" 2 => string(9) "affiliate" 3 => string(7) "product" ) "Fbapp" => array(26) ( 0 => string(5) "index" 1 => string(15) "add_app_product" 2 => string(10) "save_image" 3 => string(18) "delete_app_product" 4 => string(18) "update_app_product" 5 => string(15) "get_product_app" 6 => string(9) "schedules" 7 => string(17) "whitelist_domains" 8 => string(11) "save_domain" 9 => string(20) "view_update_schedule" 10 => string(4) "logs" 11 => string(10) "remove_log" 12 => string(8) "send_msg" 13 => string(9) "test_cron" 14 => string(10) "fb_compose" 15 => string(17) "send_composed_msg" 16 => string(16) "execute_schedule" 17 => string(12) "fb_marketing" 18 => string(4) "test" 19 => string(18) "follow_up_messages" 20 => string(11) "add_message" 21 => string(14) "remove_message" 22 => string(12) "edit_message" 23 => string(25) "execute_campaign_schedule" 24 => string(13) "alter_message" 25 => string(17) "get_message_order" ) ) "guest" => array(9) ( "System" => array(2) ( 0 => string(6) "logout" 1 => string(5) "index" ) "User" => array(2) ( 0 => string(18) "get_hidden_columns" 1 => string(19) "save_hidden_columns" ) "Order" => array(6) ( 0 => string(5) "index" 1 => string(10) "order_info" 2 => string(13) "modal_details" 3 => string(13) "modal_history" 4 => string(6) "export" 5 => string(6) "clicks" ) "Order2" => array(6) ( 0 => string(5) "index" 1 => string(10) "order_info" 2 => string(13) "modal_details" 3 => string(13) "modal_history" 4 => string(6) "export" 5 => string(6) "clicks" ) "Product" => array(1) ( 0 => string(5) "index" ) "Affiliate" => array(1) ( 0 => string(5) "index" ) "Affiliatepayment" => array(1) ( 0 => string(5) "index" ) "Affiliatestat" => array(1) ( 0 => string(5) "index" ) "Invoice" => array(4) ( 0 => string(5) "index" 1 => string(4) "date" 2 => string(9) "affiliate" 3 => string(7) "product" ) ) "nobody" => array(10) ( "Inquiry" => array(0) "System" => array(18) ( 0 => string(5) "login" 1 => string(5) "index" 2 => string(25) "catch_fullfillment_update" 3 => string(10) "catch_data" 4 => string(11) "catch_click" 5 => string(10) "catch_lead" 6 => string(18) "scrape_cybersource" 7 => string(27) "scrape_fullfillment_invoice" 8 => string(35) "scrape_fullfillment_invoice_product" 9 => string(19) "scrape_fullfillment" 10 => string(23) "scrape_fullfillment_aus" 11 => string(13) "update_paypal" 12 => string(15) "download_paypal" 13 => string(11) "test_paypal" 14 => string(18) "compute_commission" 15 => string(19) "download_paypal_new" 16 => string(20) "download_paypal_test" 17 => string(21) "paypal_autofill_check" ) "User" => array(0) "Order" => array(9) ( 0 => string(7) "orders2" 1 => string(16) "orders_everyhour" 2 => string(15) "orders_everyday" 3 => string(23) "save_to_active_campaign" 4 => string(15) "save_ip_address" 5 => string(10) "save_ecomm" 6 => string(19) "get_account_details" 7 => string(13) "download_etsy" 8 => string(23) "submit_tracking_to_etsy" ) "Subscriber" => array(0) "Paypal" => array(0) "Invoice" => array(0) "Fbapp" => array(1) ( 0 => string(7) "webhook" ) "Customers" => array(5) ( 0 => string(14) "save_customers" 1 => string(13) "get_admin_log" 2 => string(11) "get_shipped" 3 => string(7) "get_hhl" 4 => string(13) "assign_agents" ) "Affiliate" => array(1) ( 0 => string(12) "daily_report" ) ) ) protected _titles => array(3) ( "Order" => string(6) "Orders" "Product" => string(8) "Products" "User" => string(5) "Users" ) public request => object Request(19){ protected _requested_with => NULL protected _method => string(4) "POST" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)public response => object Response(5){ protected _filters => array(0) protected _uri => string(42) "(<controller>(/<action>(/<id>(/<subid>))))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(6) "system" "action" => string(5) "index" ) protected _route_regex => string(124) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++)(?:/(?P<subid>[^/.,;?\n]++))?)?)?)?$#uD" }protected _routes => array(0) protected _header => object HTTP_Header(0){ }protected _body => string(0) "" protected _directory => string(0) "" protected _controller => string(6) "System" protected _action => string(11) "catch_click" protected _uri => string(18) "system/catch_click" protected _external => bool FALSE protected _params => array(0) protected _get => array(0) protected _post => array(7) ( "domain" => string(19) "www.leptinalive.com" "affiliate_id" => string(0) "" "product" => string(11) "LeptinAlive" "ip" => string(14) "216.73.217.126" "user_agent_hash" => string(32) "fac378ac3b3d3886829021b3309d4fd1" "campaign" => string(0) "" "subcampaign" => string(0) "" ) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "Authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }}{ protected _status => integer 200 protected _header => object HTTP_Header(0)public user_type => string(6) "nobody" public user => NULL public page_view => object View(2){ }protected _body => string(0) "" protected _cookies => array(0) protected _protocol => NULL }{ protected _file => string(72) "/home/yeastinf/public_html/energizegreens/oms/application/views/page.php" protected _data => array(0) }}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)
0object Request(19)
{ protected _requested_with => NULL protected _method => string(4) "POST" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5){ protected _filters => array(0) protected _uri => string(42) "(<controller>(/<action>(/<id>(/<subid>))))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(6) "system" "action" => string(5) "index" ) protected _route_regex => string(124) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++)(?:/(?P<subid>[^/.,;?\n]++))?)?)?)?$#uD" }protected _routes => array(0) protected _header => object HTTP_Header(0){ }protected _body => string(0) "" protected _directory => string(0) "" protected _controller => string(6) "System" protected _action => string(11) "catch_click" protected _uri => string(18) "system/catch_click" protected _external => bool FALSE protected _params => array(0) protected _get => array(0) protected _post => array(7) ( "domain" => string(19) "www.leptinalive.com" "affiliate_id" => string(0) "" "product" => string(11) "LeptinAlive" "ip" => string(14) "216.73.217.126" "user_agent_hash" => string(32) "fac378ac3b3d3886829021b3309d4fd1" "campaign" => string(0) "" "subcampaign" => string(0) "" ) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "Authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }}1object Response(5)
{ protected _status => integer 200 protected _header => object HTTP_Header(0){ }protected _body => string(0) "" protected _cookies => array(0) protected _protocol => NULL }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)
0object Request(19)
{ protected _requested_with => NULL protected _method => string(4) "POST" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5){ protected _filters => array(0) protected _uri => string(42) "(<controller>(/<action>(/<id>(/<subid>))))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(6) "system" "action" => string(5) "index" ) protected _route_regex => string(124) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++)(?:/(?P<subid>[^/.,;?\n]++))?)?)?)?$#uD" }protected _routes => array(0) protected _header => object HTTP_Header(0){ }protected _body => string(0) "" protected _directory => string(0) "" protected _controller => string(6) "System" protected _action => string(11) "catch_click" protected _uri => string(18) "system/catch_click" protected _external => bool FALSE protected _params => array(0) protected _get => array(0) protected _post => array(7) ( "domain" => string(19) "www.leptinalive.com" "affiliate_id" => string(0) "" "product" => string(11) "LeptinAlive" "ip" => string(14) "216.73.217.126" "user_agent_hash" => string(32) "fac378ac3b3d3886829021b3309d4fd1" "campaign" => string(0) "" "subcampaign" => string(0) "" ) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "Authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }}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 [ 119 ] » Kohana_Request->execute()
114 /** 115 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 116 * If no source is specified, the URI will be automatically detected. 117 */ 118 echo Request::factory(TRUE, array(), FALSE) 119 ->execute() 120 ->send_headers(TRUE) 121 ->body(); 122 }
