Location: PHPKode > scripts > LineCount > linecount/linecount_example.php
<? include("class.lineCount.php"); ?>
	<TITLE>Source Code Count</TITLE>



	$lineCount = new lineCount;

	// If no directory is given, it will use the directory of the script


	// Use this method to output the summary and list of files to the page
	// You can customize the HTML from within the class


	// Use this method to get the totals as an associative array:

		$totals = $lineCount->summary(0);

		# echo $totals["folders"] / $totals["files"] / $totals["lines"]


Return current item: LineCount