public function offsetUnset($index) { if (in_array($index, array('db', 'dao', 'userModel'))) { if (!parent::offsetExists($index)) { //not yet set, ignore return; } } return parent::offsetUnset($index); }
public function offsetUnset($index) { if (isset($this->_map[$index])) { $index = $this->_map[$index]; } return parent::offsetUnset($index); }
public function __unset($name) { return $this->_parameters->offsetUnset($name); }