本文整理匯總了PHP中ImageManager::interfaceUpload方法的典型用法代碼示例。如果您正苦於以下問題:PHP ImageManager::interfaceUpload方法的具體用法?PHP ImageManager::interfaceUpload怎麽用?PHP ImageManager::interfaceUpload使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類ImageManager
的用法示例。
在下文中一共展示了ImageManager::interfaceUpload方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: Authentification
session_write_close();
$auth = new Authentification();
if ($auth->getEnableContent()) {
echo '<ul class="vertical medium-horizontal menu center">
<li><a href="?p=back&opt=mailer">Mailer</a></li>
<li><a href="?p=back&opt=imgs">Image System</a></li>
</ul>';
if ($_GET && $_GET['opt']) {
if ($_GET['opt'] == 'mailer') {
$mailer = new Mailer();
$mailer->init();
}
if ($_GET['opt'] == 'imgs') {
$imageManager = new ImageManager();
// $imageManager->goToFolder('compute');
// $imageManager->createImageFolder('compute');
$imageManager->getTreeMap();
// $imageManager->interfaceTreeFolder();
$imageManager->interfaceInputUrlBar();
$imageManager->interfaceAccordion();
// $imageManager->interfaceImageData();
// echo '<p id="currentPosition">'.$imageManager->getFolderPosition().'</p>';
$imageManager->goToFolder();
// $imageManager->createImageFolder('myfilename');
$imageManager->interfaceUpload();
}
}
}
?>