PHP 클래스 Pommo_Filesystem_Directory, poMMo

상속: extends Pommo_Filesystem_Item
파일 보기 프로젝트 열기: soonick/poMMo 1 사용 예제들

공개 메소드들

메소드 설명
copy ( $destination ) : boolean Copies this directory and all its children to $destination
delete ( ) : boolean Deletes this directory and all its children
getAllSubfoldersList ( ) : array Gets an array list of all the sub-directories found in this directory.
getDirectoryFiles ( ) : array | Pommo_Filesystem_File[] Gets all file objects that are immediate sub-children of this directory
getSubDirectories ( ) : array | Pommo_Filesystem_Directory[]

비공개 메소드들

메소드 설명
_getAllFoldersRecursive ( string $directory ) : array Recursive Helper function for getAllSubfoldersList()

메소드 상세

copy() 공개 메소드

Copies this directory and all its children to $destination
public copy ( $destination ) : boolean
$destination
리턴 boolean Success or Failure

delete() 공개 메소드

Deletes this directory and all its children
public delete ( ) : boolean
리턴 boolean Success or Failure

getAllSubfoldersList() 공개 메소드

.. recursively
public getAllSubfoldersList ( ) : array
리턴 array

getDirectoryFiles() 공개 메소드

Gets all file objects that are immediate sub-children of this directory
public getDirectoryFiles ( ) : array | Pommo_Filesystem_File[]
리턴 array | Pommo_Filesystem_File[]

getSubDirectories() 공개 메소드

public getSubDirectories ( ) : array | Pommo_Filesystem_Directory[]
리턴 array | Pommo_Filesystem_Directory[]