SYSPATH/classes/Kohana/View.php [ 257 ]
252 */
253 public function set_filename($file)
254 {
255 if (($path = Kohana::find_file('views', $file)) === FALSE)
256 {
257 throw new View_Exception('The requested view :file could not be found', array(
258 ':file' => $file,
259 ));
260 }
261
262 // Store the file path locally
-
SYSPATH/classes/Kohana/View.php [ 137 ] » Kohana_View->set_filename(arguments)
0
string(20) "blocks/forms/default"
132 */ 133 public function __construct($file = NULL, array $data = NULL) 134 { 135 if ($file !== NULL) 136 { 137 $this->set_filename($file); 138 } 139 140 if ($data !== NULL) 141 { 142 // Add the values to the current data
-
SYSPATH/classes/Kohana/View.php [ 30 ] » Kohana_View->__construct(arguments)
0
string(20) "blocks/forms/default"
1
array(13) ( "form_attributes" => array(4) ( "action" => string(57) "https://www.hiddenleadership.com/user/fetl/save_user_data" "name" => string(14) "save_user_data" "rel" => string(29) "admin_users/fetl_user_account" "class" => string(20) "validate ajax-submit" ) "fields" => array(13) ( "user_firstname" => array(15) ( "name" => string(14) "user_firstname" "type" => integer 1 "value" => string(0) "" "attributes" => array(2) ( "max_length" => string(2) "30" "class" => string(8) "validate" ) "extra_options" => array(0) "required" => bool TRUE "inline_mode" => bool FALSE "no_label" => bool FALSE "validation_name" => string(14) "user_firstname" "description" => NULL "multi_language" => NULL "available_languages" => array(0) "label" => string(15) "User first name" "hidden" => integer 0 "parent_class" => array(1) ( 0 => string(14) "user_firstname" ) ) "user_lastname" => array(15) ( "name" => string(13) "user_lastname" "type" => integer 1 "value" => string(0) "" "attributes" => array(2) ( "max_length" => string(2) "60" "class" => string(8) "validate" ) "extra_options" => array(0) "required" => bool TRUE "inline_mode" => bool FALSE "no_label" => bool FALSE "validation_name" => string(13) "user_lastname" "description" => NULL "multi_language" => NULL "available_languages" => array(0) "label" => string(12) "User surname" "hidden" => integer 0 "parent_class" => array(1) ( 0 => string(13) "user_lastname" ) ) "user_email" => array(15) ( "name" => string(10) "user_email" "type" => integer 1 "value" => string(0) "" "attributes" => array(2) ( "max_length" => string(2) "60" "class" => string(8) "validate" ) "extra_options" => array(0) "required" => bool TRUE "inline_mode" => bool FALSE "no_label" => bool FALSE "validation_name" => string(10) "user_email" "description" => NULL "multi_language" => NULL "available_languages" => array(0) "label" => string(13) "Email address" "hidden" => integer 0 "parent_class" => array(1) ( 0 => string(10) "user_email" ) ) "user_gender" => array(16) ( "name" => string(11) "user_gender" "type" => integer 6 "value" => NULL "attributes" => array(1) ( "class" => string(29) "no-single-validation validate" ) "extra_options" => array(0) "required" => bool TRUE "inline_mode" => bool FALSE "no_label" => bool FALSE "validation_name" => string(11) "user_gender" "description" => NULL "multi_language" => NULL "available_languages" => array(0) "options" => array(4) ( 0 => string(6) "Female" 1 => string(4) "Male" 2 => string(10) "Non-binary" 3 => string(7) "Not set" ) "label" => string(6) "Gender" "hidden" => integer 0 "parent_class" => array(1) ( 0 => string(11) "user_gender" ) ) "user_phone" => array(15) ( "name" => string(10) "user_phone" "type" => integer 1 "value" => string(0) "" "attributes" => array(2) ( "max_length" => string(2) "20" "class" => string(8) "validate" ) "extra_options" => array(0) "required" => bool TRUE "inline_mode" => bool FALSE "no_label" => bool FALSE "validation_name" => string(10) "user_phone" "description" => NULL "multi_language" => NULL "available_languages" => array(0) "label" => string(12) "Phone number" "hidden" => integer 0 "parent_class" => array(1) ( 0 => string(10) "user_phone" ) ) "user_region" => array(16) ( "name" => string(11) "user_region" "type" => integer 6 "value" => NULL "attributes" => array(1) ( "class" => string(29) "no-single-validation validate" ) "extra_options" => array(0) "required" => bool TRUE "inline_mode" => bool FALSE "no_label" => bool FALSE "validation_name" => string(11) "user_region" "description" => NULL "multi_language" => NULL "available_languages" => array(0) "options" => array(7) ( 0 => string(6) "London" 1 => string(5) "South" 2 => string(8) "Midlands" 3 => string(5) "North" 4 => string(8) "Scotland" 5 => string(15) "Northern Island" 6 => string(5) "Wales" ) "label" => string(6) "Region" "hidden" => integer 0 "parent_class" => array(1) ( 0 => string(11) "user_region" ) ) "user_workplace_name" => array(15) ( "name" => string(19) "user_workplace_name" "type" => integer 1 "value" => string(0) "" "attributes" => array(3) ( "placeholder" => string(36) "Please write the name of institution" "max_length" => string(3) "255" "class" => string(8) "validate" ) "extra_options" => array(0) "required" => bool TRUE "inline_mode" => bool FALSE "no_label" => bool FALSE "validation_name" => string(19) "user_workplace_name" "description" => NULL "multi_language" => NULL "available_languages" => array(0) "label" => string(10) "Work place" "hidden" => integer 0 "parent_class" => array(1) ( 0 => string(19) "user_workplace_name" ) ) "user_workplace_type" => array(16) ( "name" => string(19) "user_workplace_type" "type" => integer 6 "value" => NULL "attributes" => array(1) ( "class" => string(29) "no-single-validation validate" ) "extra_options" => array(0) "required" => bool TRUE "inline_mode" => bool FALSE "no_label" => bool TRUE "validation_name" => string(19) "user_workplace_type" "description" => NULL "multi_language" => NULL "available_languages" => array(0) "options" => array(4) ( 0 => string(11) "FE Colleges" 1 => string(17) "Private providers" 2 => string(28) "Community Learning providers" 3 => string(5) "Other" ) "label" => string(0) "" "hidden" => integer 0 "parent_class" => array(1) ( 0 => string(19) "user_workplace_type" ) ) "user_teaching_role" => array(16) ( "name" => string(18) "user_teaching_role" "type" => integer 6 "value" => NULL "attributes" => array(1) ( "class" => string(29) "no-single-validation validate" ) "extra_options" => array(0) "required" => bool TRUE "inline_mode" => bool FALSE "no_label" => bool FALSE "validation_name" => string(18) "user_teaching_role" "description" => NULL "multi_language" => NULL "available_languages" => array(0) "options" => array(2) ( 0 => string(2) "No" 1 => string(3) "Yes" ) "label" => string(28) "Do you have a teaching role?" "hidden" => integer 0 "parent_class" => array(1) ( 0 => string(18) "user_teaching_role" ) ) "user_lead_people" => array(16) ( "name" => string(16) "user_lead_people" "type" => integer 6 "value" => NULL "attributes" => array(1) ( "class" => string(29) "no-single-validation validate" ) "extra_options" => array(0) "required" => bool TRUE "inline_mode" => bool FALSE "no_label" => bool FALSE "validation_name" => string(16) "user_lead_people" "description" => string(346) "Senior leader would be SMT, Heads of services, Senior support service leaders.<br /><br /> Middle manager/leader would equate t …" "multi_language" => NULL "available_languages" => array(0) "options" => array(3) ( 0 => string(13) "Senior leader" 1 => string(21) "Middle manager/leader" 2 => string(22) "Other leadership roles" ) "label" => string(28) "Do you manage / lead people?" "hidden" => integer 0 "parent_class" => array(1) ( 0 => string(16) "user_lead_people" ) ) "user_age_range" => array(16) ( "name" => string(14) "user_age_range" "type" => integer 6 "value" => NULL "attributes" => array(1) ( "class" => string(29) "no-single-validation validate" ) "extra_options" => array(0) "required" => bool TRUE "inline_mode" => bool FALSE "no_label" => bool FALSE "validation_name" => string(14) "user_age_range" "description" => NULL "multi_language" => NULL "available_languages" => array(0) "options" => array(3) ( 0 => string(8) "Below 30" 1 => string(7) "30 - 50" 2 => string(7) "Over 50" ) "label" => string(3) "Age" "hidden" => integer 0 "parent_class" => array(1) ( 0 => string(14) "user_age_range" ) ) "allow_analysis" => array(14) ( "name" => string(14) "allow_analysis" "type" => integer 4 "value" => integer 0 "attributes" => array(2) ( "type" => string(6) "hidden" "class" => string(8) "validate" ) "extra_options" => array(0) "required" => bool FALSE "inline_mode" => bool FALSE "no_label" => bool FALSE "validation_name" => string(14) "allow_analysis" "description" => NULL "multi_language" => NULL "available_languages" => array(0) "hidden" => integer 0 "parent_class" => array(1) ( 0 => string(14) "allow_analysis" ) ) "allow_phone_call" => array(14) ( "name" => string(16) "allow_phone_call" "type" => integer 4 "value" => integer 0 "attributes" => array(2) ( "type" => string(6) "hidden" "class" => string(8) "validate" ) "extra_options" => array(0) "required" => bool FALSE "inline_mode" => bool FALSE "no_label" => bool FALSE "validation_name" => string(16) "allow_phone_call" "description" => NULL "multi_language" => NULL "available_languages" => array(0) "hidden" => integer 0 "parent_class" => array(1) ( 0 => string(16) "allow_phone_call" ) ) ) "submit_name" => string(17) "Start your survey" "submit_field_name" => string(0) "" "show_submit" => bool TRUE "redirect_url" => string(0) "" "form_before" => string(0) "" "form_after" => string(0) "" "tabs" => bool FALSE "steps" => array(0) "steps_options" => array(0) "available_languages" => array(0) "current_language_key" => bool FALSE )
25 * @param array $data array of values 26 * @return View 27 */ 28 public static function factory($file = NULL, array $data = NULL) 29 { 30 return new View($file, $data); 31 } 32 33 /** 34 * Captures the output that is generated when a view is included. 35 * The view data will be extracted to make local variables. This method
-
MODPATH/admin/classes/Forms.php [ 1659 ] » Kohana_View::factory(arguments)
0
string(20) "blocks/forms/default"
1
array(13) ( "form_attributes" => array(4) ( "action" => string(57) "https://www.hiddenleadership.com/user/fetl/save_user_data" "name" => string(14) "save_user_data" "rel" => string(29) "admin_users/fetl_user_account" "class" => string(20) "validate ajax-submit" ) "fields" => array(13) ( "user_firstname" => array(15) ( "name" => string(14) "user_firstname" "type" => integer 1 "value" => string(0) "" "attributes" => array(2) ( "max_length" => string(2) "30" "class" => string(8) "validate" ) "extra_options" => array(0) "required" => bool TRUE "inline_mode" => bool FALSE "no_label" => bool FALSE "validation_name" => string(14) "user_firstname" "description" => NULL "multi_language" => NULL "available_languages" => array(0) "label" => string(15) "User first name" "hidden" => integer 0 "parent_class" => array(1) ( 0 => string(14) "user_firstname" ) ) "user_lastname" => array(15) ( "name" => string(13) "user_lastname" "type" => integer 1 "value" => string(0) "" "attributes" => array(2) ( "max_length" => string(2) "60" "class" => string(8) "validate" ) "extra_options" => array(0) "required" => bool TRUE "inline_mode" => bool FALSE "no_label" => bool FALSE "validation_name" => string(13) "user_lastname" "description" => NULL "multi_language" => NULL "available_languages" => array(0) "label" => string(12) "User surname" "hidden" => integer 0 "parent_class" => array(1) ( 0 => string(13) "user_lastname" ) ) "user_email" => array(15) ( "name" => string(10) "user_email" "type" => integer 1 "value" => string(0) "" "attributes" => array(2) ( "max_length" => string(2) "60" "class" => string(8) "validate" ) "extra_options" => array(0) "required" => bool TRUE "inline_mode" => bool FALSE "no_label" => bool FALSE "validation_name" => string(10) "user_email" "description" => NULL "multi_language" => NULL "available_languages" => array(0) "label" => string(13) "Email address" "hidden" => integer 0 "parent_class" => array(1) ( 0 => string(10) "user_email" ) ) "user_gender" => array(16) ( "name" => string(11) "user_gender" "type" => integer 6 "value" => NULL "attributes" => array(1) ( "class" => string(29) "no-single-validation validate" ) "extra_options" => array(0) "required" => bool TRUE "inline_mode" => bool FALSE "no_label" => bool FALSE "validation_name" => string(11) "user_gender" "description" => NULL "multi_language" => NULL "available_languages" => array(0) "options" => array(4) ( 0 => string(6) "Female" 1 => string(4) "Male" 2 => string(10) "Non-binary" 3 => string(7) "Not set" ) "label" => string(6) "Gender" "hidden" => integer 0 "parent_class" => array(1) ( 0 => string(11) "user_gender" ) ) "user_phone" => array(15) ( "name" => string(10) "user_phone" "type" => integer 1 "value" => string(0) "" "attributes" => array(2) ( "max_length" => string(2) "20" "class" => string(8) "validate" ) "extra_options" => array(0) "required" => bool TRUE "inline_mode" => bool FALSE "no_label" => bool FALSE "validation_name" => string(10) "user_phone" "description" => NULL "multi_language" => NULL "available_languages" => array(0) "label" => string(12) "Phone number" "hidden" => integer 0 "parent_class" => array(1) ( 0 => string(10) "user_phone" ) ) "user_region" => array(16) ( "name" => string(11) "user_region" "type" => integer 6 "value" => NULL "attributes" => array(1) ( "class" => string(29) "no-single-validation validate" ) "extra_options" => array(0) "required" => bool TRUE "inline_mode" => bool FALSE "no_label" => bool FALSE "validation_name" => string(11) "user_region" "description" => NULL "multi_language" => NULL "available_languages" => array(0) "options" => array(7) ( 0 => string(6) "London" 1 => string(5) "South" 2 => string(8) "Midlands" 3 => string(5) "North" 4 => string(8) "Scotland" 5 => string(15) "Northern Island" 6 => string(5) "Wales" ) "label" => string(6) "Region" "hidden" => integer 0 "parent_class" => array(1) ( 0 => string(11) "user_region" ) ) "user_workplace_name" => array(15) ( "name" => string(19) "user_workplace_name" "type" => integer 1 "value" => string(0) "" "attributes" => array(3) ( "placeholder" => string(36) "Please write the name of institution" "max_length" => string(3) "255" "class" => string(8) "validate" ) "extra_options" => array(0) "required" => bool TRUE "inline_mode" => bool FALSE "no_label" => bool FALSE "validation_name" => string(19) "user_workplace_name" "description" => NULL "multi_language" => NULL "available_languages" => array(0) "label" => string(10) "Work place" "hidden" => integer 0 "parent_class" => array(1) ( 0 => string(19) "user_workplace_name" ) ) "user_workplace_type" => array(16) ( "name" => string(19) "user_workplace_type" "type" => integer 6 "value" => NULL "attributes" => array(1) ( "class" => string(29) "no-single-validation validate" ) "extra_options" => array(0) "required" => bool TRUE "inline_mode" => bool FALSE "no_label" => bool TRUE "validation_name" => string(19) "user_workplace_type" "description" => NULL "multi_language" => NULL "available_languages" => array(0) "options" => array(4) ( 0 => string(11) "FE Colleges" 1 => string(17) "Private providers" 2 => string(28) "Community Learning providers" 3 => string(5) "Other" ) "label" => string(0) "" "hidden" => integer 0 "parent_class" => array(1) ( 0 => string(19) "user_workplace_type" ) ) "user_teaching_role" => array(16) ( "name" => string(18) "user_teaching_role" "type" => integer 6 "value" => NULL "attributes" => array(1) ( "class" => string(29) "no-single-validation validate" ) "extra_options" => array(0) "required" => bool TRUE "inline_mode" => bool FALSE "no_label" => bool FALSE "validation_name" => string(18) "user_teaching_role" "description" => NULL "multi_language" => NULL "available_languages" => array(0) "options" => array(2) ( 0 => string(2) "No" 1 => string(3) "Yes" ) "label" => string(28) "Do you have a teaching role?" "hidden" => integer 0 "parent_class" => array(1) ( 0 => string(18) "user_teaching_role" ) ) "user_lead_people" => array(16) ( "name" => string(16) "user_lead_people" "type" => integer 6 "value" => NULL "attributes" => array(1) ( "class" => string(29) "no-single-validation validate" ) "extra_options" => array(0) "required" => bool TRUE "inline_mode" => bool FALSE "no_label" => bool FALSE "validation_name" => string(16) "user_lead_people" "description" => string(346) "Senior leader would be SMT, Heads of services, Senior support service leaders.<br /><br /> Middle manager/leader would equate t …" "multi_language" => NULL "available_languages" => array(0) "options" => array(3) ( 0 => string(13) "Senior leader" 1 => string(21) "Middle manager/leader" 2 => string(22) "Other leadership roles" ) "label" => string(28) "Do you manage / lead people?" "hidden" => integer 0 "parent_class" => array(1) ( 0 => string(16) "user_lead_people" ) ) "user_age_range" => array(16) ( "name" => string(14) "user_age_range" "type" => integer 6 "value" => NULL "attributes" => array(1) ( "class" => string(29) "no-single-validation validate" ) "extra_options" => array(0) "required" => bool TRUE "inline_mode" => bool FALSE "no_label" => bool FALSE "validation_name" => string(14) "user_age_range" "description" => NULL "multi_language" => NULL "available_languages" => array(0) "options" => array(3) ( 0 => string(8) "Below 30" 1 => string(7) "30 - 50" 2 => string(7) "Over 50" ) "label" => string(3) "Age" "hidden" => integer 0 "parent_class" => array(1) ( 0 => string(14) "user_age_range" ) ) "allow_analysis" => array(14) ( "name" => string(14) "allow_analysis" "type" => integer 4 "value" => integer 0 "attributes" => array(2) ( "type" => string(6) "hidden" "class" => string(8) "validate" ) "extra_options" => array(0) "required" => bool FALSE "inline_mode" => bool FALSE "no_label" => bool FALSE "validation_name" => string(14) "allow_analysis" "description" => NULL "multi_language" => NULL "available_languages" => array(0) "hidden" => integer 0 "parent_class" => array(1) ( 0 => string(14) "allow_analysis" ) ) "allow_phone_call" => array(14) ( "name" => string(16) "allow_phone_call" "type" => integer 4 "value" => integer 0 "attributes" => array(2) ( "type" => string(6) "hidden" "class" => string(8) "validate" ) "extra_options" => array(0) "required" => bool FALSE "inline_mode" => bool FALSE "no_label" => bool FALSE "validation_name" => string(16) "allow_phone_call" "description" => NULL "multi_language" => NULL "available_languages" => array(0) "hidden" => integer 0 "parent_class" => array(1) ( 0 => string(16) "allow_phone_call" ) ) ) "submit_name" => string(17) "Start your survey" "submit_field_name" => string(0) "" "show_submit" => bool TRUE "redirect_url" => string(0) "" "form_before" => string(0) "" "form_after" => string(0) "" "tabs" => bool FALSE "steps" => array(0) "steps_options" => array(0) "available_languages" => array(0) "current_language_key" => bool FALSE )
1654 1655 if ($this->_tabs !== FALSE) { 1656 $template .= '_tabs'; 1657 } 1658 1659 $view = View::factory('blocks/forms/' . $template, $options); 1660 return $view; 1661 } 1662 1663 public function generate_fields($name = FALSE, $template = 'fields') { 1664 $this->_prepare_fields();
-
APPPATH/classes/Controller/Fetl.php [ 71 ] » Forms->generate(arguments)
0
string(14) "save_user_data"
1
string(7) "default"
2
string(57) "https://www.hiddenleadership.com/user/fetl/save_user_data"
66 67 $forms 68 ->set_action(URL::site(Route::get('user')->uri(array('controller' => 'fetl', 'action' => 'save_user_data')), TRUE)) 69 ->show_submit_button(TRUE)->set_submit_name('Start your survey') 70 ; 71 $user_form = $forms->generate('save_user_data', 'default', URL::site(Route::get('user')->uri(array('controller' => 'fetl', 'action' => 'save_user_data')), TRUE)); 72 73 $form_assets = $forms->get_assets(); 74 $this->template->scripts = array_merge($this->template->scripts, $form_assets['js']); 75 $this->template->styles = array_merge($this->template->styles, $form_assets['css']); 76 if ( ! empty($form_assets['js_code'])) {
-
SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Fetl->action_index()
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)
0
object Controller_Fetl(15)
{ public template => object View(2)
{ protected _file => string(103) "/usr/home/jocard/domains/hiddenleadership.com/public_html/application/views/templates/front/subpage.php" protected _data => array(11) ( "title" => string(41) "Further Education for Trust in Leadership" "description" => string(0) "" "content" => bool FALSE "styles" => array(0) "scripts" => array(0) "menu_index" => string(0) "" "user" => array(8) ( "u_id" => integer -1 "u_firstname" => string(5) "Guest" "u_lastname" => string(0) "" "u_role" => integer 0 "u_gender" => string(1) "m" "u_email" => string(0) "" "roles" => array(1) ( 0 => string(5) "guest" ) "companies" => array(0) ) "head_title" => string(0) "" "header" => string(0) "" "footer" => string(0) "" "options" => array(0) ) }
public user => array(8) ( "u_id" => integer -1 "u_firstname" => string(5) "Guest" "u_lastname" => string(0) "" "u_role" => integer 0 "u_gender" => string(1) "m" "u_email" => string(0) "" "roles" => array(1) ( 0 => string(5) "guest" ) "companies" => array(0) ) public menu => object Admin_Menu(7){ private _a_main_menu => array(2) ( "index" => array(4) ( "title" => string(4) "Home" "url" => string(33) "https://www.hiddenleadership.com/" "class" => string(5) "index" "selected" => bool FALSE ) "login" => array(4) ( "title" => string(6) "Log in" "url" => string(38) "https://www.hiddenleadership.com/login" "class" => string(5) "login" "selected" => bool FALSE ) ) private _a_hidden_menu => array(0) private _a_sub_menu => array(0) private _a_hidden_menu_col => integer 0 private _menu_selected => bool FALSE private _submenu_selected => bool FALSE private _route_params => array(0) }
public content => bool FALSE protected default_view_action => string(5) "index" protected controller_uri => NULL protected variables => array(0) public redirect => bool FALSE protected _ses => object Session_Database(11){ protected _db => object Database_MySQLi(7)
protected a2 => object A2(7){ protected _connection_id => string(40) "56de001a5dc7890bf20ec2b476084000d64f800e" protected _identifier => string(1) "`" protected _transaction_started => bool FALSE public last_query => string(90) "SELECT `session_id` FROM `sessions` WHERE `session_id` = '662146ed69b050-65203598' LIMIT 1" protected _instance => string(7) "default" protected _connection => object mysqli(19)
protected _table => string(8) "sessions" protected _columns => array(4) ( "session_id" => string(10) "session_id" "user_id" => string(7) "user_id" "last_active" => string(11) "last_active" "contents" => string(8) "contents" ) protected _gc => integer 500 protected _session_id => string(23) "662146ed69b050-65203598" protected _update_id => NULL protected _name => string(7) "session" protected _lifetime => integer 0 protected _encrypted => bool FALSE protected _data => array(0) protected _destroyed => bool FALSE }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(6) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(19) "mysql58.mydevil.net" "database" => string(12) "m1290_hidden" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ protected _config => object Config_Group(6)
protected languages_visible => array(3) ( "gb" => string(12) "English (UK)" "ua" => string(20) "українська" "pl" => string(6) "Polski" ) protected current_language_key => NULL public auto_render => bool TRUE public request => object Request(19){ public exception => bool FALSE public exception_type => string(12) "a2_exception" public roles => array(6) ( "guest" => NULL "user" => string(5) "guest" "user_owner" => string(4) "user" "admin" => string(4) "user" "superadmin" => string(5) "admin" "owner" => NULL ) public guest_role => string(5) "guest" public resources => array(4) ( "superadmin_access" => NULL "owner_access" => NULL "user_owner_access" => NULL "user_access" => NULL ) public rules => array(2) ( "allow" => array(13) ( "superadmin_access" => array(2) ( "role" => string(10) "superadmin" "resource" => string(17) "superadmin_access" ) "owner_access" => array(2) ( "role" => string(5) "owner" "resource" => string(12) "owner_access" ) "user_access" => array(2) ( "role" => string(4) "user" "resource" => string(11) "user_access" ) "user_owner_access" => array(2) ( "role" => string(10) "user_owner" "resource" => string(17) "user_owner_access" ) "superadmin" => array(1) ( "role" => string(10) "superadmin" ) "owner" => array(2) ( "role" => string(5) "owner" "resource" => array(5) ( 0 => string(26) "admin-controller-dashboard" 1 => string(26) "company-controller-company" 2 => string(28) "admin-controller-respondents" 3 => string(22) "front-controller-login" 4 => string(23) "front-controller-logout" ) ) "user" => array(2) ( "role" => string(4) "user" "resource" => array(3) ( 0 => string(28) "admin-controller-respondents" 1 => string(23) "front-controller-logout" 2 => string(26) "admin/auth-controller-auth" ) ) "user_owner" => array(2) ( "role" => string(10) "user_owner" "resource" => array(1) ( 0 => string(26) "company-controller-company" ) ) "guest" => array(2) ( "role" => string(5) "guest" "resource" => array(6) ( 0 => string(22) "front-controller-login" 1 => string(23) "front-controller-survey" 2 => string(25) "front-controller-register" 3 => string(22) "front-controller-index" 4 => string(21) "front-controller-fetl" 5 => string(20) "site-controller-site" ) ) "companies" => array(3) ( "role" => string(5) "owner" "resource" => string(9) "companies" "privilege" => array(2) ( 0 => string(4) "read" 1 => string(4) "edit" ) ) "companies2" => array(3) ( "role" => string(5) "owner" "resource" => array(2) ( 0 => string(9) "companies" 1 => string(5) "users" ) "privilege" => string(3) "add" ) "user2company" => array(3) ( "role" => string(5) "owner" "resource" => string(12) "user2company" "privilege" => array(3) ( 0 => string(3) "add" 1 => string(4) "edit" 2 => string(6) "delete" ) ) "user_assertion" => array(4) ( "role" => string(4) "user" "resource" => string(5) "users" "privilege" => array(2) ( 0 => string(4) "read" 1 => string(4) "edit" ) "assertion" => array(1) ( 0 => string(26) "Model_Admin_Assertion_User" ) ) ) "deny" => array(2) ( "owner" => array(3) ( "role" => string(5) "owner" "resource" => string(28) "admin-controller-respondents" "privilege" => array(4) ( 0 => string(12) "action-index" 1 => string(21) "action-add_respondent" 2 => string(16) "action-positions" 3 => string(17) "action-admin_list" ) ) "user" => array(3) ( "role" => string(4) "user" "resource" => string(28) "admin-controller-respondents" "privilege" => array(5) ( 0 => string(12) "action-index" 1 => string(21) "action-add_respondent" 2 => string(14) "action-answers" 3 => string(16) "action-positions" 4 => string(17) "action-admin_list" ) ) ) ) }
protected _auth => NULL protected command => array(3) ( "role" => object Model_User(1){ protected _db => object Database_MySQLi(7)
"resource" => string(22) "front-controller-login" "privilege" => string(12) "action-index" ) protected _roles => array(6) ( "guest" => array(0) "user" => array(1) ( 0 => string(5) "guest" ) "user_owner" => array(1) ( 0 => string(4) "user" ) "admin" => array(1) ( 0 => string(4) "user" ) "superadmin" => array(1) ( 0 => string(5) "admin" ) "owner" => array(0) ) protected _resources => array(4) ( "superadmin_access" => array(0) "owner_access" => array(0) "user_owner_access" => array(0) "user_access" => array(0) ) protected _permissions => array(5) ( "superadmin" => array(2) ( "superadmin_access" => array(1) ( "*" => array(1) ( "allow" => bool TRUE ) ) "*" => array(1) ( "*" => array(1) ( "allow" => bool TRUE ) ) ) "owner" => array(9) ( "owner_access" => array(1) ( "*" => array(1) ( "allow" => bool TRUE ) ) "admin-controller-dashboard" => array(1) ( "*" => array(1) ( "allow" => bool TRUE ) ) "company-controller-company" => array(1) ( "*" => array(1) ( "allow" => bool TRUE ) ) "admin-controller-respondents" => array(5) ( "*" => array(1) ( "allow" => bool TRUE ) "action-index" => array(1) ( "allow" => bool FALSE ) "action-add_respondent" => array(1) ( "allow" => bool FALSE ) "action-positions" => array(1) ( "allow" => bool FALSE ) "action-admin_list" => array(1) ( "allow" => bool FALSE ) ) "front-controller-login" => array(1) ( "*" => array(1) ( "allow" => bool TRUE ) ) "front-controller-logout" => array(1) ( "*" => array(1) ( "allow" => bool TRUE ) ) "companies" => array(3) ( "read" => array(1) ( "allow" => bool TRUE ) "edit" => array(1) ( "allow" => bool TRUE ) "add" => array(1) ( "allow" => bool TRUE ) ) "users" => array(1) ( "add" => array(1) ( "allow" => bool TRUE ) ) "user2company" => array(3) ( "add" => array(1) ( "allow" => bool TRUE ) "edit" => array(1) ( "allow" => bool TRUE ) "delete" => array(1) ( "allow" => bool TRUE ) ) ) "user" => array(5) ( "user_access" => array(1) ( "*" => array(1) ( "allow" => bool TRUE ) ) "admin-controller-respondents" => array(6) ( "*" => array(1) ( "allow" => bool TRUE ) "action-index" => array(1) ( "allow" => bool FALSE ) "action-add_respondent" => array(1) ( "allow" => bool FALSE ) "action-answers" => array(1) ( "allow" => bool FALSE ) "action-positions" => array(1) ( "allow" => bool FALSE ) "action-admin_list" => array(1) ( "allow" => bool FALSE ) ) "front-controller-logout" => array(1) ( "*" => array(1) ( "allow" => bool TRUE ) ) "admin/auth-controller-auth" => array(1) ( "*" => array(1) ( "allow" => bool TRUE ) ) "users" => array(2) ( "read" => array(2) ( "allow" => bool TRUE "assert" => object Model_Admin_Assertion_User(0){ protected _connection_id => string(40) "56de001a5dc7890bf20ec2b476084000d64f800e" protected _identifier => string(1) "`" protected _transaction_started => bool FALSE public last_query => string(90) "SELECT `session_id` FROM `sessions` WHERE `session_id` = '662146ed69b050-65203598' LIMIT 1" protected _instance => string(7) "default" protected _connection => object mysqli(19)
}{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(6) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(19) "mysql58.mydevil.net" "database" => string(12) "m1290_hidden" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ }
) "edit" => array(2) ( "allow" => bool TRUE "assert" => object Model_Admin_Assertion_User(0){ }
) ) ) "user_owner" => array(2) ( "user_owner_access" => array(1) ( "*" => array(1) ( "allow" => bool TRUE ) ) "company-controller-company" => array(1) ( "*" => array(1) ( "allow" => bool TRUE ) ) ) "guest" => array(6) ( "front-controller-login" => array(1) ( "*" => array(1) ( "allow" => bool TRUE ) ) "front-controller-survey" => array(1) ( "*" => array(1) ( "allow" => bool TRUE ) ) "front-controller-register" => array(1) ( "*" => array(1) ( "allow" => bool TRUE ) ) "front-controller-index" => array(1) ( "*" => array(1) ( "allow" => bool TRUE ) ) "front-controller-fetl" => array(1) ( "*" => array(1) ( "allow" => bool TRUE ) ) "site-controller-site" => array(1) ( "*" => array(1) ( "allow" => bool TRUE ) ) ) ) public _guest_role => string(5) "guest" }{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/2.0" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)
public response => object Response(5){ protected _filters => array(0) protected _uri => string(48) "(<controller>(/<id>(/<action>(/<id2>(/<id3>)))))" protected _regex => array(1) ( "id" => string(11) "[^/.;?\n]++" ) protected _defaults => array(3) ( "controller" => string(5) "index" "action" => string(5) "index" "id" => string(0) "" ) protected _route_regex => string(148) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<id>[^/.;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id2>[^/.,;?\n]++)(?:/(?P<id3>[^/.,;? …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "Fetl" protected _action => string(5) "index" protected _uri => string(4) "fetl" protected _external => bool FALSE protected _params => array(1) ( "id" => string(0) "" ) protected _get => array(0) protected _post => array(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)
}{ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/2.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)
0
object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/2.0" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(48) "(<controller>(/<id>(/<action>(/<id2>(/<id3>)))))" protected _regex => array(1) ( "id" => string(11) "[^/.;?\n]++" ) protected _defaults => array(3) ( "controller" => string(5) "index" "action" => string(5) "index" "id" => string(0) "" ) protected _route_regex => string(148) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<id>[^/.;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id2>[^/.,;?\n]++)(?:/(?P<id3>[^/.,;? …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "Fetl" protected _action => string(5) "index" protected _uri => string(4) "fetl" protected _external => bool FALSE protected _params => array(1) ( "id" => string(0) "" ) protected _get => array(0) protected _post => array(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) }
}1
object Response(5)
{ protected _status => integer 200 protected _header => object HTTP_Header(0)
{ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/2.0" }109 $orig_response = $response = Response::factory(array('_protocol' => $request->protocol())); 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 [ 986 ] » Kohana_Request_Client->execute(arguments)
0
object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/2.0" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(48) "(<controller>(/<id>(/<action>(/<id2>(/<id3>)))))" protected _regex => array(1) ( "id" => string(11) "[^/.;?\n]++" ) protected _defaults => array(3) ( "controller" => string(5) "index" "action" => string(5) "index" "id" => string(0) "" ) protected _route_regex => string(148) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<id>[^/.;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id2>[^/.,;?\n]++)(?:/(?P<id3>[^/.,;? …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "Fetl" protected _action => string(5) "index" protected _uri => string(4) "fetl" protected _external => bool FALSE protected _params => array(1) ( "id" => string(0) "" ) protected _get => array(0) protected _post => array(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) }
}981 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 982 ':uri' => $this->_uri, 983 )); 984 } 985 986 return $this->_client->execute($this); 987 } 988 989 /** 990 * Returns whether this request is the initial request Kohana received. 991 * Can be used to test for sub requests.
-
DOCROOT/index.php [ 122 ] » Kohana_Request->execute()
117 Minion_Task::factory(Minion_CLI::options())->execute(); 118 } 119 else 120 { 121 echo Request::factory() 122 ->execute() 123 ->send_headers() 124 ->body(); 125 }