本文整理汇总了PHP中Vtiger_Link::deleteAll方法的典型用法代码示例。如果您正苦于以下问题:PHP Vtiger_Link::deleteAll方法的具体用法?PHP Vtiger_Link::deleteAll怎么用?PHP Vtiger_Link::deleteAll使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Vtiger_Link
的用法示例。
在下文中一共展示了Vtiger_Link::deleteAll方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: delete
/**
* Delete this instance
*/
function delete()
{
if ($this->isentitytype) {
Vtiger_Access::deleteSharing($this);
Vtiger_Access::deleteTools($this);
Vtiger_Filter::deleteForModule($this);
Vtiger_Block::deleteForModule($this);
if (method_exists($this, 'deinitWebservice')) {
$this->deinitWebservice();
}
}
$this->__delete();
Vtiger_Profile::deleteForModule($this);
Vtiger_Link::deleteAll($this->id);
Vtiger_Menu::detachModule($this);
self::syncfile();
}
示例2: removeLinks
public function removeLinks()
{
require_once 'vtlib/Vtiger/Link.php';
$tabid = getTabId("XMLExport4You");
Vtiger_Link::deleteAll($tabid);
$this->DeleteAllRefLinks();
}
示例3: delete
/**
* Delete this instance
*/
function delete()
{
if ($this->isentitytype) {
Vtiger_Access::deleteSharing($this);
Vtiger_Access::deleteTools($this);
Vtiger_Filter::deleteForModule($this);
Vtiger_Block::deleteForModule($this);
}
$this->__delete();
Vtiger_Profile::deleteForModule($this);
Vtiger_Link::deleteAll($this->id);
Vtiger_Menu::detachModule($this);
self::syncfile();
}
示例4: 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();
}