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