Свойство | Тип | Описание | |
---|---|---|---|
$arrPathinfo | array | Pathinfo | |
$objModel | Files model | ||
$strFolder | string | Folder name |
Метод | Описание | |
---|---|---|
__construct ( string $strFolder ) | Check whether the folder exists | |
__get ( string $strKey ) : mixed | Return an object property | |
chmod ( string $intChmod ) : boolean | Set the folder permissions | |
clear ( ) | Purge the folder | |
copyTo ( string $strNewName ) : boolean | Copy the folder | |
delete ( ) | Delete the folder | |
getModel ( ) : |
Return the files model | |
isEmpty ( ) : boolean | Return true if the folder is empty | |
protect ( ) | Protect the folder by removing the .public file | |
purge ( ) | Purge the folder | |
renameTo ( string $strNewName ) : boolean | Rename the folder | |
shouldBeSynchronized ( ) : boolean | Check if the folder should be synchronized with the database | |
unprotect ( ) | Unprotect the folder by adding a .public file |
Метод | Описание | |
---|---|---|
getHash ( ) : string | Return the MD5 hash of the folder | |
getPathinfo ( ) : array | Return the path info (binary-safe) | |
getSize ( ) : integer | Return the size of the folder |
public __construct ( string $strFolder ) | ||
$strFolder | string | The folder path |
public getModel ( ) : |
||
Результат | The files model |
protected getPathinfo ( ) : array | ||
Результат | array | The path info |
public shouldBeSynchronized ( ) : boolean | ||
Результат | boolean | True if the folder needs to be synchronized with the database |
protected FilesModel,contao $objModel | ||
Результат |