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