src/FS/File/CSV/Reader.php
public function getRowCount()
	{
		$iterator	= new FS_File_CSV_Iterator( $this->fileName, $this->delimiter );
		$counter	= 0;
		while( $iterator->next() )
			$counter++;
		if( $counter && $this->withHeaders )
			$counter--;
		return $counter;
	}
public function getRowCount()
	{
		$iterator	= new FS_File_CSV_Iterator( $this->fileName, $this->delimiter );
		$counter	= 0;
		while( $iterator->next() )
			$counter++;
		if( $counter && $this->withHeaders )
			$counter--;
		return $counter;
	}
public function getRowCount ( ) { $ iterator = new FS_File_CSV_Iterator ( $ this -> fileName , $ this -> delimiter ) ; $ counter = 0 ; while ( $ iterator -> next ( ) ) $ counter ++ ; if ( $ counter && $ this -> withHeaders ) $ counter -- ; return $ counter ; }
Returns the count of data rows.
@access		public
@return		int
Returns the count of data rows .