本文整理汇总了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();
}