src/ADT/List/SectionList.php
public function removeEntry( $entry, $section = NULL )
	{
		if( !$section )
			$section	= $this->getSectionOfEntry( $entry );
		$index	= $this->getIndex( $entry, $section );
		if( $index === FALSE )
			throw new InvalidArgumentException( 'Entry "'.$entry.'" not found in Section "'.$section.'".' );
		unset( $this->list[$section][$index] );
	}
public function removeEntry( $entry, $section = NULL )
	{
		if( !$section )
			$section	= $this->getSectionOfEntry( $entry );
		$index	= $this->getIndex( $entry, $section );
		if( $index === FALSE )
			throw new InvalidArgumentException( 'Entry "'.$entry.'" not found in Section "'.$section.'".' );
		unset( $this->list[$section][$index] );
	}
public function removeEntry ( $ entry , $ section = NULL ) { if ( ! $ section ) $ section = $ this -> getSectionOfEntry ( $ entry ) ; $ index = $ this -> getIndex ( $ entry , $ section ) ; if ( $ index === FALSE ) throw new InvalidArgumentException ( 'Entry "' . $ entry . '" not found in Section "' . $ section . '".' ) ; unset ( $ this -> list [ $ section ] [ $ index ] ) ; }
Removes an entry in a section in the List.
@access		public
@param		string		$entry			Entry to remove
@param		string		$section		Section of Entry
@return		void
Removes an entry in a section in the List .