new pisilinux web sites
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
<?php namespace ZN\Filesystem;
|
||||
/**
|
||||
* ZN PHP Web Framework
|
||||
*
|
||||
* "Simplicity is the ultimate sophistication." ~ Da Vinci
|
||||
*
|
||||
* @package ZN
|
||||
* @license MIT [http://opensource.org/licenses/MIT]
|
||||
* @author Ozan UYKUN [ozan@znframework.com]
|
||||
*/
|
||||
|
||||
use ZN\Controller\Factory;
|
||||
|
||||
class Folder extends Factory
|
||||
{
|
||||
const factory =
|
||||
[
|
||||
'methods' =>
|
||||
[
|
||||
'exists' => 'Info::existsFolder',
|
||||
'fileinfo' => 'Info::fileInfo',
|
||||
'info' => 'Info::get',
|
||||
'basepath' => 'Info::basePath',
|
||||
'disk' => 'Info::disk',
|
||||
'totalspace' => 'Info::totalSpace',
|
||||
'freespace' => 'Info::freeSpace',
|
||||
'disk' => 'Info::disk',
|
||||
'create' => 'Forge::createFolder',
|
||||
'rename' => 'Forge::rename',
|
||||
'deleteempty' => 'Forge::deleteEmptyFolder',
|
||||
'delete' => 'Forge::deleteFolder',
|
||||
'copy' => 'Forge::copy',
|
||||
'change' => 'Forge::changeFolder',
|
||||
'permission' => 'Forge::permission',
|
||||
'files' => 'FileList::files',
|
||||
'allfiles' => 'FileList::allFiles'
|
||||
]
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user