本文整理汇总了PHP中Package::uninstall方法的典型用法代码示例。如果您正苦于以下问题:PHP Package::uninstall方法的具体用法?PHP Package::uninstall怎么用?PHP Package::uninstall使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Package
的用法示例。
在下文中一共展示了Package::uninstall方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: uninstall
public function uninstall()
{
parent::uninstall();
$db = Loader::db();
$db->Execute('drop table if exists atHandleHttps');
$db->Execute('drop table if exists atHandleHttpsConfig');
}
示例2: uninstall
public function uninstall()
{
parent::uninstall();
$db = Loader::db();
$db->Execute('DROP TABLE btCustomContactForm');
//Do NOT drop package-level tables -- we don't want to accidentally lose submission data!
}
示例3: uninstall
public function uninstall()
{
$db = Loader::db();
$dashPage = Page::getByPath("/dashboard/wordpress_import");
$dashPage->delete();
$db->Execute('drop table WordpressItems');
parent::uninstall();
}
示例4: uninstall
public function uninstall()
{
$setless_fs = FileSet::getByName('Setless');
if (!empty($setless_fs)) {
$setless_fs->delete();
}
$pkg = parent::uninstall();
}
示例5: uninstall
public function uninstall()
{
BlockType::getByHandle('tweetcrete')->controller->uninstall();
parent::uninstall();
//make sure the block table gets dropped
$db = Loader::db();
$db->Execute('DROP TABLE IF EXISTS btTweetcrete');
$db->Execute('DROP TABLE IF EXISTS btTweetcreteUserOrHashSettings');
}
示例6: uninstall
public function uninstall()
{
$pkg = parent::uninstall();
}
示例7: uninstall
public function uninstall()
{
$type = PermissionAccessEntityType::getByHandle('parent_page_owner');
$type->delete();
parent::uninstall();
}
示例8: uninstall
public function uninstall()
{
parent::uninstall();
}