system/modules/DocumentManagementSystem/classes/pojos/Category.php
public function getPublishedDocumentCount()
	{
		$count = 0;
		foreach ($this->arrDocuments as $document)
		{
			if ($document->isPublished())
			{
				$count++;
			}
		}
		return $count;
	}
public function getPublishedDocumentCount()
	{
		$count = 0;
		foreach ($this->arrDocuments as $document)
		{
			if ($document->isPublished())
			{
				$count++;
			}
		}
		return $count;
	}
public function getPublishedDocumentCount ( ) { $ count = 0 ; foreach ( $ this -> arrDocuments as $ document ) { if ( $ document -> isPublished ( ) ) { $ count ++ ; } } return $ count ; }
Get the number of published documents.

@return	int	The number of published documents.
Get the number of published documents .