src/FS/File/List/Reader.php
public function getIndex( $item )
	{
		$index	= array_search( $item, $this->list );
		if( $index === FALSE )
			throw new DomainException( 'Item "'.$item.'" is not in List.' );
		return $index;
	}
public function getIndex( $item )
	{
		$index	= array_search( $item, $this->list );
		if( $index === FALSE )
			throw new DomainException( 'Item "'.$item.'" is not in List.' );
		return $index;
	}
public function getIndex ( $ item ) { $ index = array_search ( $ item , $ this -> list ) ; if ( $ index === FALSE ) throw new DomainException ( 'Item "' . $ item . '" is not in List.' ) ; return $ index ; }
Returns the Index of a given Item in current List.
@access		public
@param		string		$item			Item to get Index for
@return		int
Returns the Index of a given Item in current List .