Welcome Guest, Not a member yet? Register   Sign In
Extending CI_Controller / Indirect modification of overloaded property
#6

[eluser]popovich[/eluser]
OK, this works.
In MY_Controller at the end of __constructor:
Code:
$CI =& get_instance();
  $CI->testing = array("test"=>"testing 123");
  $CI->GLO = $this->GLO;

In Dispatcher class (which extends MY_Controller):
Code:
print_r($this->testing);
  print_r($this->GLO);
  exit;

the output is as expected. However the override error persists.
O_o


Messages In This Thread
Extending CI_Controller / Indirect modification of overloaded property - by El Forum - 09-13-2012, 10:42 AM



Theme © iAndrew 2016 - Forum software by © MyBB