本文整理匯總了PHP中iPHP::folder方法的典型用法代碼示例。如果您正苦於以下問題:PHP iPHP::folder方法的具體用法?PHP iPHP::folder怎麽用?PHP iPHP::folder使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類iPHP
的用法示例。
在下文中一共展示了iPHP::folder方法的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: do_recover
function do_recover()
{
$res = iPHP::folder('cache/backup', array('sql'));
$dirRs = $res['DirArray'];
$fileRs = $res['FileArray'];
$pwd = $res['pwd'];
$parent = $res['parent'];
$URI = $res['URI'];
include iACP::view("database.recover");
}
示例2: do_iCMS
function do_iCMS()
{
$res = iPHP::folder('template', array('htm', 'css', 'js', 'png', 'jpg', 'gif'));
$dirRs = $res['DirArray'];
$fileRs = $res['FileArray'];
$pwd = $res['pwd'];
$parent = $res['parent'];
$URI = $res['URI'];
$navbar = true;
$file_edit = true;
include iACP::view("files.explorer");
}
示例3: do_fileManager
function do_fileManager()
{
$res = iPHP::folder(iCMS::$config['FS']['dir']);
$res['public_url'] = iCMS_PUBLIC_URL;
iPHP::json($res);
}
示例4: explorer
function explorer($dir = NULL, $type = NULL)
{
iACP::MP('FILE.BROWSE', 'page');
$res = iPHP::folder($dir, $type);
$dirRs = $res['DirArray'];
$fileRs = $res['FileArray'];
$pwd = $res['pwd'];
$parent = $res['parent'];
$URI = $res['URI'];
$navbar = false;
include iACP::view("files.explorer");
}