Code: Select all
$obj =& $this->_ctrl[$ctrl];I want to wrap this functionality in a inline method such as
Code: Select all
$obj = $this->getObject($ctrl);Code: Select all
&getObject(){ return &$this->_object; }Sorry for sounding impatient but I just spent the better half of 3-4 hours trying to figure out why my code wasn't working as expected, the whole time it has to do with damn references
Thanks