本文整理匯總了PHP中ConfigManager::delete方法的典型用法代碼示例。如果您正苦於以下問題:PHP ConfigManager::delete方法的具體用法?PHP ConfigManager::delete怎麽用?PHP ConfigManager::delete使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類ConfigManager
的用法示例。
在下文中一共展示了ConfigManager::delete方法的8個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: uninstall
public function uninstall()
{
$this->drop_tables();
ConfigManager::delete('web', 'config');
CacheManager::invalidate('module', 'web');
WebService::get_keywords_manager()->delete_module_relations();
}
示例2: uninstall
public function uninstall()
{
$this->drop_tables();
ConfigManager::delete('news', 'config');
NewsService::get_keywords_manager()->delete_module_relations();
}
示例3: htmlentities
} else {
$actionMessage = "Erreur Modification Config : Vous devez remplir le champ 'indexContent'.";
$typeMessage = "error";
}
} else {
if ($action == "changeIndexContent") {
$indexContent = htmlentities($_POST['indexContent']);
$configManager->changeIndexContent($indexContent);
$actionMessage = "Opération Valide : Configuration Modifié(e) avec succès.";
$typeMessage = "success";
} else {
if ($action == "changeSliderType") {
$sliderType = htmlentities($_POST['sliderType']);
$configManager->changeSliderType($sliderType);
$actionMessage = "Opération Valide : Configuration Modifié(e) avec succès.";
$typeMessage = "success";
} else {
if ($action == "delete") {
$idConfig = htmlentities($_POST['idConfig']);
$configManager->delete($idConfig);
$actionMessage = "Opération Valide : Config supprimé(e) avec succès.";
$typeMessage = "success";
}
}
}
}
}
//Action Delete Processing End
$_SESSION['config-action-message'] = $actionMessage;
$_SESSION['config-type-message'] = $typeMessage;
header('Location:../configuration.php');
示例4: delete_configuration
private function delete_configuration()
{
ConfigManager::delete('guestbook', 'config');
}
示例5: uninstall
public function uninstall()
{
$this->drop_tables();
ConfigManager::delete('media', 'config');
}
示例6: uninstall
public function uninstall()
{
ConfigManager::delete('question-captcha', 'config');
return AppContext::get_captcha_service()->uninstall_captcha('QuestionCaptcha');
}
示例7: uninstall
public function uninstall()
{
$this->drop_tables();
ConfigManager::delete('faq', 'config');
CacheManager::invalidate('module', 'faq');
}
示例8: uninstall
public function uninstall()
{
$this->drop_tables();
ConfigManager::delete('forum', 'config');
$this->delete_member_extended_field();
}