public function remove($criteria, $key)
    {
        if (isset($this->_data[$criteria]) &&
            is_array($this->_data[$criteria])) {
            unset($this->_data[$criteria][$key]);
            if (empty($this->_data[$criteria])) {
                unset($this->_data[$criteria]);
            }
        }
    }
public function remove($criteria, $key)
    {
        if (isset($this->_data[$criteria]) &&
            is_array($this->_data[$criteria])) {
            unset($this->_data[$criteria][$key]);
            if (empty($this->_data[$criteria])) {
                unset($this->_data[$criteria]);
            }
        }
    }
public function remove ( $ criteria , $ key ) { if ( isset ( $ this -> _data [ $ criteria ] ) && is_array ( $ this -> _data [ $ criteria ] ) ) { unset ( $ this -> _data [ $ criteria ] [ $ key ] ) ; if ( empty ( $ this -> _data [ $ criteria ] ) ) { unset ( $ this -> _data [ $ criteria ] ) ; } } }
Remove an entry under a given criteria.

@param integer $criteria  Criteria ID.
@param string $key        The key to remove.
Remove an entry under a given criteria .