本文整理汇总了PHP中Vtiger_Language::deleteForModule方法的典型用法代码示例。如果您正苦于以下问题:PHP Vtiger_Language::deleteForModule方法的具体用法?PHP Vtiger_Language::deleteForModule怎么用?PHP Vtiger_Language::deleteForModule使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Vtiger_Language
的用法示例。
在下文中一共展示了Vtiger_Language::deleteForModule方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: delete
/**
* Delete this instance
*/
function delete()
{
$moduleInstance = Vtiger_Module_Model::getInstance($this->name);
require_once "modules/{$this->name}/{$this->name}.php";
$focus = new $this->name();
$this->tableName = $focus->table_name;
if ($this->isentitytype) {
$this->deleteFromCRMEntity();
Vtiger_Access::deleteTools($this);
Vtiger_Filter::deleteForModule($this);
Vtiger_Block::deleteForModule($this);
if (method_exists($this, 'deinitWebservice')) {
$this->deinitWebservice();
}
}
$this->deleteIcons();
$this->unsetAllRelatedList($moduleInstance);
ModComments_Module_Model::deleteForModule($moduleInstance);
Vtiger_Language::deleteForModule($moduleInstance);
Vtiger_Access::deleteSharing($moduleInstance);
$this->deleteFromModentityNum();
Vtiger_Cron::deleteForModule($moduleInstance);
Vtiger_Profile::deleteForModule($moduleInstance);
Settings_Workflows_Module_Model::deleteForModule($moduleInstance);
Vtiger_Menu::deleteForModule($moduleInstance);
$this->deleteGroup2Modules();
$this->deleteModuleTables();
$this->deleteCRMEntityRel();
Vtiger_Profile::deleteForModule($this);
Vtiger_Link::deleteAll($this->id);
$this->deleteDir($moduleInstance);
$this->__delete();
self::syncfile();
}