- Class name: manager
- Source: admin-dev/ajaxfilemanager/inc/class.manager.php line 10
- $calculateSubdir
- $currentFolderInfo
- $currentFolderPath
- $fileTypes
- $flags
- $folderPathIndex
- $forceFolderOnTop
- $lastVisitedFolderPathIndex
- $sessionAction
- __construct
- _getExtension
- getCurrentFolderPath
- getFileList
- getFileType
- getFileTypes
- getFolderInfo
- isDirEmpty
- manager
- printFileTypes
- setSessionAction
public mixed $calculateSubdir = true
- Visibility: public
- Source: admin-dev/ajaxfilemanager/inc/class.manager.php line 33.
public mixed $currentFolderInfo = array('name' => '', 'subdir' => 0, 'file' => 0, 'ctime' => '', 'mtime' => '', 'is_readable' => '', 'is_writable' => '', 'size' => 0, 'path' => '', 'type' => 'folder', 'flag' => 'noFlag', 'friendly_path' => '')
- Visibility: public
- Source: admin-dev/ajaxfilemanager/inc/class.manager.php line 16.
public mixed $currentFolderPath
- Visibility: public
- Source: admin-dev/ajaxfilemanager/inc/class.manager.php line 12.
public mixed $fileTypes = array(array(array("exe", "com"), "fileExe", SEARCH_TYPE_EXE, 0), array(array("gif", "jpg", "png", "bmp", "tif"), "filePicture", SEARCH_TYPE_IMG, 1), array(array("zip", "sit", "rar", "gz", "tar"), "fileZip", SEARCH_TYPE_ARCHIVE, 0), array(array("htm", "html", "php", "jsp", "asp", 'js', 'css'), "fileCode", SEARCH_TYPE_HTML, 1), array(array("mov", "ram", "rm", "asx", "dcr", "wmv"), "fileVideo", SEARCH_TYPE_VIDEO, 1), array(array("mpg", "avi", "asf", "mpeg"), "fileVideo", SEARCH_TYPE_MOVIE, 1), array(array("aif", "aiff", "wav", "mp3", "wma"), "fileMusic", SEARCH_TYPE_MUSIC, 1), array(array("swf", 'flv'), "fileFlash", SEARCH_TYPE_FLASH, 1), array(array("ppt"), "filePPT", SEARCH_TYPE_PPT, 0), array(array("rtf"), "fileRTF", SEARCH_TYPE_DOC, 0), array(array("doc"), "fileWord", SEARCH_TYPE_WORD, 0), array(array("pdf"), "fileAcrobat", SEARCH_TYPE_PDF, 0), array(array("xls", "csv"), "fileExcel", SEARCH_TYPE_EXCEL, 0), array(array("txt"), "fileText", SEARCH_TYPE_TEXT, 1), array(array("xml", "xsl", "dtd"), "fileXml", SEARCH_TYPE_XML, 1))
- Visibility: public
- Source: admin-dev/ajaxfilemanager/inc/class.manager.php line 34.
public mixed $flags = array('no' => 'noFlag', 'cut' => 'cutFlag', 'copy' => 'copyFlag')
- Visibility: public
- Source: admin-dev/ajaxfilemanager/inc/class.manager.php line 14.
public mixed $folderPathIndex = "path"
- Visibility: public
- Source: admin-dev/ajaxfilemanager/inc/class.manager.php line 32.
public mixed $forceFolderOnTop = false
- Visibility: public
- Source: admin-dev/ajaxfilemanager/inc/class.manager.php line 15.
public mixed $lastVisitedFolderPathIndex = 'ajax_last_visited_folder'
- Visibility: public
- Source: admin-dev/ajaxfilemanager/inc/class.manager.php line 31.
public mixed $sessionAction = null
- Visibility: public
- Source: admin-dev/ajaxfilemanager/inc/class.manager.php line 13.
mixed manager::__construct($path, $calculateSubdir)
constructor
- Visibility: public
- Source: admin-dev/ajaxfilemanager/inc/class.manager.php line 57
- $path mixed
- $calculateSubdir mixed
string manager::_getExtension(string $file, $checkIfDir)
Get the extension of a file name
- Visibility: public
- Source: admin-dev/ajaxfilemanager/inc/class.manager.php line 339
- $file string
- $checkIfDir mixed
string manager::getCurrentFolderPath()
get current folder path
- Visibility: public
- Source: admin-dev/ajaxfilemanager/inc/class.manager.php line 132
array manager::getFileList()
get the list of files and folders under this current fold
- Visibility: public
- Source: admin-dev/ajaxfilemanager/inc/class.manager.php line 140
array manager::getFileType($fileName, $checkIfDir)
return the file type of a file.
- Visibility: public
- Source: admin-dev/ajaxfilemanager/inc/class.manager.php line 268
- $fileName mixed
- $checkIfDir mixed
\arrray manager::getFileTypes()
return the predefined file types
- Visibility: public
- Source: admin-dev/ajaxfilemanager/inc/class.manager.php line 310
array manager::getFolderInfo(string $path)
get current or the specified dir information
- Visibility: public
- Source: admin-dev/ajaxfilemanager/inc/class.manager.php line 247
- $path string
mixed manager::isDirEmpty($path)
- Visibility: public
- Source: admin-dev/ajaxfilemanager/inc/class.manager.php line 352
- $path mixed
mixed manager::manager($path, $calculateSubdir)
constructor
- Visibility: public
- Source: admin-dev/ajaxfilemanager/inc/class.manager.php line 124
- $path mixed
- $calculateSubdir mixed
mixed manager::printFileTypes()
print out the file types
- Visibility: public
- Source: admin-dev/ajaxfilemanager/inc/class.manager.php line 318
mixed manager::setSessionAction($session)
- Visibility: public
- Source: admin-dev/ajaxfilemanager/inc/class.manager.php line 117
- $session mixed