258: class is CI_Benchmark 259: class is CI_Hooks, 260: class is CI_Config, 261: class is CI_Router, 262: class is CI_Output, 263: class is CI_Input, 264: class is CI_URI, 265: class is CI_Language, 266: class is CI_Loader, 267: class is CI_Base, 268: class is Instance, 269: class is Controller, methods are: Array ( [0] => Controller [1] => _ci_initialize [2] => _ci_load_model [3] => _ci_assign_to_models [4] => _ci_autoload [5] => _ci_assign_core [6] => _ci_init_scaffolding [7] => _ci_init_database [8] => _ci_is_loaded [9] => _ci_scaffolding [10] => CI_Base ) 270: class is Welcome, methods are: Array ( [0] => Welcome [1] => index [2] => Controller [3] => _ci_initialize [4] => _ci_load_model [5] => _ci_assign_to_models [6] => _ci_autoload [7] => _ci_assign_core [8] => _ci_init_scaffolding [9] => _ci_init_database [10] => _ci_is_loaded [11] => _ci_scaffolding [12] => CI_Base )
var $base; My_new_class() { $obj= & get_instance();
// geolocation code here, returning a value through a // switch statement // this value is assigned to $local_url $this->base =$obj->config->item(‘base_url‘);