original_string: 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]);
              }
          }
      }
code: 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]);
              }
          }
      }
code_tokens: 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 ] ) ; } } }
docstring: Remove an entry under a given criteria.
  
  @param integer $criteria  Criteria ID.
  @param string $key        The key to remove.
docstring_tokens: Remove an entry under a given criteria .