本文整理匯總了PHP中DUP_Package::GetDefaultName方法的典型用法代碼示例。如果您正苦於以下問題:PHP DUP_Package::GetDefaultName方法的具體用法?PHP DUP_Package::GetDefaultName怎麽用?PHP DUP_Package::GetDefaultName使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類DUP_Package
的用法示例。
在下文中一共展示了DUP_Package::GetDefaultName方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: switch
//POST BACK
$action_updated = null;
if (isset($_POST['action'])) {
$action_result = DUP_Settings::DeleteWPOption($_POST['action']);
switch ($_POST['action']) {
case 'duplicator_package_active':
$action_response = __('Package settings have been reset.', 'duplicator');
break;
}
}
DUP_Util::InitSnapshotDirectory();
$Package = DUP_Package::GetActive();
$package_hash = $Package->MakeHash();
$dup_tests = array();
$dup_tests = DUP_Server::GetRequirements();
$default_name = DUP_Package::GetDefaultName();
$view_state = DUP_UI::GetViewStateArray();
$ui_css_storage = isset($view_state['dup-pack-storage-panel']) && $view_state['dup-pack-storage-panel'] ? 'display:block' : 'display:none';
$ui_css_archive = isset($view_state['dup-pack-archive-panel']) && $view_state['dup-pack-archive-panel'] ? 'display:block' : 'display:none';
$ui_css_installer = isset($view_state['dup-pack-installer-panel']) && $view_state['dup-pack-installer-panel'] ? 'display:block' : 'display:none';
$dup_intaller_files = implode(", ", array_keys(DUP_Server::GetInstallerFiles()));
$dbbuild_mode = DUP_Settings::Get('package_mysqldump') && DUP_Database::GetMySqlDumpPath() ? 'mysqldump' : 'PHP';
?>
<style>
/* -----------------------------
REQUIREMENTS*/
div.dup-sys-section {margin:1px 0px 5px 0px}
div.dup-sys-title {display:inline-block; width:250px; padding:1px; }
div.dup-sys-title div {display:inline-block;float:right; }
div.dup-sys-info {display:none; max-width: 98%; margin:4px 4px 12px 4px}