system/modules/DocumentManagementSystem/classes/pojos/Category.php
public function isFileTypeAllowed($strFileType, $blnCaseSensitive = false)
	{
		$arrAllowedFileTypes = $this->getAllowedFileTypes();
		if (!$blnCaseSensitive)
		{
			$strFileType = strtolower($strFileType);
		}
		
		return in_array($strFileType, $arrAllowedFileTypes);
	}
public function isFileTypeAllowed($strFileType, $blnCaseSensitive = false)
	{
		$arrAllowedFileTypes = $this->getAllowedFileTypes();
		if (!$blnCaseSensitive)
		{
			$strFileType = strtolower($strFileType);
		}
		
		return in_array($strFileType, $arrAllowedFileTypes);
	}
public function isFileTypeAllowed ( $ strFileType , $ blnCaseSensitive = false ) { $ arrAllowedFileTypes = $ this -> getAllowedFileTypes ( ) ; if ( ! $ blnCaseSensitive ) { $ strFileType = strtolower ( $ strFileType ) ; } return in_array ( $ strFileType , $ arrAllowedFileTypes ) ; }
Returns if the given file type is allowed to be uploaded into this category.

@param	string	$strFileType	The file type to be checked.
@param	bool	$blnCaseSensitive	True if checking should be done case sensitive.
@return	bool	True if the given file type is allowed to be uploaded into this category.
Returns if the given file type is allowed to be uploaded into this category .