system/modules/DocumentManagementSystem/classes/pojos/Category.php
public function getAllowedFileTypes()
	{
		$arrFileTypesOfParents = array();
		
		if ($this->fileTypesInherit && !$this->isRootCategory() && $this->hasParentCategory())
		{
			$arrFileTypesOfParents = $this->parentCategory->getAllowedFileTypes();
		}
		
		$arrFileTypes = DmsUtils::getUniqueFileTypes($this->fileTypes, $arrFileTypesOfParents);
		
		return $arrFileTypes;
	}
public function getAllowedFileTypes()
	{
		$arrFileTypesOfParents = array();
		
		if ($this->fileTypesInherit && !$this->isRootCategory() && $this->hasParentCategory())
		{
			$arrFileTypesOfParents = $this->parentCategory->getAllowedFileTypes();
		}
		
		$arrFileTypes = DmsUtils::getUniqueFileTypes($this->fileTypes, $arrFileTypesOfParents);
		
		return $arrFileTypes;
	}
public function getAllowedFileTypes ( ) { $ arrFileTypesOfParents = array ( ) ; if ( $ this -> fileTypesInherit && ! $ this -> isRootCategory ( ) && $ this -> hasParentCategory ( ) ) { $ arrFileTypesOfParents = $ this -> parentCategory -> getAllowedFileTypes ( ) ; } $ arrFileTypes = DmsUtils :: getUniqueFileTypes ( $ this -> fileTypes , $ arrFileTypesOfParents ) ; return $ arrFileTypes ; }
Returns an array of file types which are allowed to be uploaded into this category.

@return	array	The array of file types which are allowed.
Returns an array of file types which are allowed to be uploaded into this category .