*/
public function getFolderInfoByIdentifier($folderIdentifier);
+ /**
+ * Returns the identifier of a file inside the folder
+ *
+ * @param string $fileName
+ * @param string $folderIdentifier
+ * @return string file identifier
+ */
+ public function getFileInFolder($fileName, $folderIdentifier);
+
/**
* Returns a list of files inside the specified path
*
*/
public function getFilesInFolder($folderIdentifier, $start = 0, $numberOfItems = 0, $recursive = FALSE, array $filenameFilterCallbacks = array(), $sort = '', $sortRev = FALSE);
+ /**
+ * Returns the identifier of a folder inside the folder
+ *
+ * @param string $folderName The name of the target folder
+ * @param string $folderIdentifier
+ * @return string folder identifier
+ */
+ public function getFolderInFolder($folderName, $folderIdentifier);
+
/**
* Returns a list of folders inside the specified path
*
* Returns the number of files inside the specified path
*
* @param string $folderIdentifier
- * @param boolean $recursive
+ * @param bool $recursive
* @param array $filenameFilterCallbacks callbacks for filtering the items
* @return integer Number of files in folder
*/
- public function getFilesInFolderCount($folderIdentifier, $recursive = FALSE, array $filenameFilterCallbacks = array());
+ public function countFilesInFolder($folderIdentifier, $recursive = FALSE, array $filenameFilterCallbacks = array());
/**
* Returns the number of folders inside the specified path
*
* @param string $folderIdentifier
- * @param boolean $recursive
+ * @param bool $recursive
* @param array $folderNameFilterCallbacks callbacks for filtering the items
* @return integer Number of folders in folder
*/
- public function getFoldersInFolderCount($folderIdentifier, $recursive = FALSE, array $folderNameFilterCallbacks = array());
+ public function countFoldersInFolder($folderIdentifier, $recursive = FALSE, array $folderNameFilterCallbacks = array());
}