Class MyFiles
- Folder
- MyFiles
License: GNU General Public License v2.0 only **********************************************************************************************
Class:
MyFiles This class supports the assignment of rights to every folder of adm_my_files It's easy to create new folders and get detailed error messages if there are problems with folder rights
Beside the methods of the parent class there are the following additional methods:
checkSettings() - method checks if adm_my_files folder has all necessary rights getServerPath() - returns the current path setSubFolder($folder) - open a folder in the current module folder if that folder doesn't exists than it will be created
Located at myfiles.php
Methods summary
public
|
#
__construct( string $module )
module name should be the folder name in adm_my_files for this module Example: 'PHOTOS', 'BACKUP', 'DOWNLOAD' |
public
boolean
|
#
checkSettings( )
method checks if adm_my_files folder has all necessary rights the method is designed to make as little as possible checks |
public
string
|
|
public
boolean
|
#
setSubFolder( string $folder )
open a folder in the current module folder if that folder doesn't exists than it will be created |
Methods inherited from Folder
copy()
,
createFolder()
,
delete()
,
getFolder()
,
move()
,
rename()
,
setFolder()
Properties summary
protected
|
$module
|
|
protected
|
$modulePath
|
|
protected
|
$currentPath
|
|
protected
|
$webPath
|
|
public
|
$errorText
|
|
public
|
$errorPath
|