本文整理匯總了PHP中Base_AclCommon::delete_permission方法的典型用法代碼示例。如果您正苦於以下問題:PHP Base_AclCommon::delete_permission方法的具體用法?PHP Base_AclCommon::delete_permission怎麽用?PHP Base_AclCommon::delete_permission使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Base_AclCommon
的用法示例。
在下文中一共展示了Base_AclCommon::delete_permission方法的11個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: uninstall
public function uninstall()
{
Base_AclCommon::delete_permission('Calendar');
DB::DropTable('crm_calendar_custom_events_handlers');
Base_ThemeCommon::uninstall_default_theme('CRM/Calendar');
return true;
}
示例2: uninstall
public function uninstall()
{
Base_AclCommon::delete_permission('Fax - Browse');
Base_AclCommon::delete_permission('Fax - Send');
Base_ThemeCommon::uninstall_default_theme($this->get_type());
return true;
}
示例3: uninstall
public function uninstall() {
Base_AclCommon::delete_permission('Messenger Alerts');
$ret = true;
$ret &= DB::DropTable('utils_messenger_users');
$ret &= DB::DropTable('utils_messenger_message');
return $ret;
}
示例4: uninstall
public function uninstall()
{
$ret = true;
$ret &= DB::DropTable('apps_shoutbox_messages');
Base_AclCommon::delete_permission('Shoutbox');
Base_ThemeCommon::uninstall_default_theme($this->get_type());
return $ret;
}
示例5: uninstall
public function uninstall()
{
Base_AclCommon::delete_permission('Advanced User Settings');
global $database;
$ret = true;
$ret &= DB::DropTable('base_user_settings');
Base_ThemeCommon::uninstall_default_theme(Base_User_SettingsInstall::module_name());
return $ret;
}
示例6: uninstall
public function uninstall()
{
Base_AclCommon::delete_permission('Manage Perspective');
$ret = true;
$ret &= DB::DropTable('crm_filters_contacts');
$ret &= DB::DropTable('crm_filters_group');
Base_ThemeCommon::uninstall_default_theme($this->get_type());
return $ret;
}
示例7: uninstall
public function uninstall()
{
Base_AclCommon::delete_permission('Attachments - view full download history');
$ret = true;
$ret &= DB::DropTable('utils_attachment_download');
$ret &= DB::DropTable('utils_attachment_file');
$ret &= DB::DropTable('utils_attachment_local');
Utils_RecordBrowserCommon::uninstall_recordset('utils_attachment');
Base_ThemeCommon::uninstall_default_theme($this->get_type());
return $ret;
}
示例8: uninstall
public function uninstall()
{
Base_AclCommon::delete_permission('Dashboard');
Base_ThemeCommon::uninstall_default_theme($this->get_type());
$ret = true;
$ret &= DB::DropTable('base_dashboard_settings');
$ret &= DB::DropTable('base_dashboard_applets');
$ret &= DB::DropTable('base_dashboard_default_settings');
$ret &= DB::DropTable('base_dashboard_default_applets');
$ret &= DB::DropTable('base_dashboard_users');
return $ret;
}
示例9: uninstall
public function uninstall()
{
Base_AclCommon::delete_permission('View Activity Report');
Base_ThemeCommon::uninstall_default_theme($this->get_type());
return true;
}
示例10: uninstall
public function uninstall()
{
Base_AclCommon::delete_permission('Search');
Base_ThemeCommon::uninstall_default_theme(Base_SearchInstall::module_name());
return true;
}
示例11: uninstall
public function uninstall()
{
Base_AclCommon::delete_permission('Search');
Base_ThemeCommon::uninstall_default_theme('Base/Search');
return true;
}