public function accept()
	{
		// The resource is to be ignored
		if (strncmp($this->current()->getFilename(), '.', 1) === 0)
		{
			return false;
		}

		$strPath = $this->current()->getPathname();

		if (is_file($strPath))
		{
			$strPath = \dirname($strPath);
		}

		$objFolder = new Folder(StringUtil::stripRootDir($strPath));

		return !$objFolder->isUnsynchronized();
	}
public function accept()
	{
		
		if (strncmp($this->current()->getFilename(), '.', 1) === 0)
		{
			return false;
		}

		$strPath = $this->current()->getPathname();

		if (is_file($strPath))
		{
			$strPath = \dirname($strPath);
		}

		$objFolder = new Folder(StringUtil::stripRootDir($strPath));

		return !$objFolder->isUnsynchronized();
	}
public function accept ( ) { // The resource is to be ignored if ( strncmp ( $ this -> current ( ) -> getFilename ( ) , '.' , 1 ) === 0 ) { return false ; } $ strPath = $ this -> current ( ) -> getPathname ( ) ; if ( is_file ( $ strPath ) ) { $ strPath = \ dirname ( $ strPath ) ; } $ objFolder = new Folder ( StringUtil :: stripRootDir ( $ strPath ) ) ; return ! $ objFolder -> isUnsynchronized ( ) ; }
Check whether the current element of the iterator is acceptable

@return boolean True if the element is acceptable
Check whether the current element of the iterator is acceptable