当前位置: 首页>>代码示例>>PHP>>正文


PHP Vtiger_Link::deleteLink方法代码示例

本文整理汇总了PHP中Vtiger_Link::deleteLink方法的典型用法代码示例。如果您正苦于以下问题:PHP Vtiger_Link::deleteLink方法的具体用法?PHP Vtiger_Link::deleteLink怎么用?PHP Vtiger_Link::deleteLink使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Vtiger_Link的用法示例。


在下文中一共展示了Vtiger_Link::deleteLink方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: removeLinksForKeyboardJunkie

 function removeLinksForKeyboardJunkie()
 {
     //Deleting Headerscripts links
     global $log;
     $log->fatal('removing keyboard links');
     Vtiger_Link::deleteLink($this->tabId, $this->headerScriptLinkType, 'Mousetrap', 'modules/KeyboardJunkie/resources/mousetrap/mousetrap.min.js');
     Vtiger_Link::deleteLink($this->tabId, $this->headerScriptLinkType, 'Mousetrap Global Bind', 'modules/KeyboardJunkie/resources/mousetrap/plugins/global-bind/mousetrap-global-bind.min.js');
     Vtiger_Link::deleteLink($this->tabId, $this->headerScriptLinkType, 'Keyboard Shortcuts', 'modules/KeyboardJunkie/resources/shortcuts.js');
 }
开发者ID:Wasage,项目名称:werpa,代码行数:9,代码来源:KeyboardJunkie.php

示例2: process

 public function process(Vtiger_Request $request)
 {
     $response = new Vtiger_Response();
     $qualifiedModuleName = $request->getModule(false);
     $tabid = str_replace('tabid', '', $request->get('tabid'));
     $operation = $request->get('operation');
     $moduleModel = Settings_LSWYSIWYG_Module_Model::getInstance();
     if ($tabid) {
         //we are toggling a tabid, and returning the current status of that tab
         if ($operation == "enable") {
             //if it is on at the moment we delete it
             Vtiger_Link::addLink($tabid, 'LISTVIEW', "WYSIWYG", 'javascript:WYSIWYG.displaySelectWizard(this, \'$MODULE$\');', '', '', '');
             $result = true;
         } else {
             Vtiger_Link::deleteLink($tabid, 'LISTVIEW', 'WYSIWYG');
             $result = false;
         }
         $response->setResult(array('tabid' => "tabid{$tabid}", 'enabled' => $result));
     } else {
         $response->setError(vtranslate('Failed to enable', $qualifiedModuleName));
     }
     $response->emit();
 }
开发者ID:Alby1507,项目名称:LSWYSIWYG,代码行数:23,代码来源:LSWYSIWYGSaveAjax.php

示例3: deleteLink

 /**
  * Delete custom link of a module
  * @param String Type can be like 'DETAILVIEW', 'LISTVIEW' etc..
  * @param String Display label to lookup
  * @param String URL value to lookup
  */
 function deleteLink($type, $label, $url = false)
 {
     Vtiger_Link::deleteLink($this->id, $type, $label, $url);
 }
开发者ID:rcrrich,项目名称:UpdatePackages,代码行数:10,代码来源:Module.php

示例4: DeleteAllRefLinks

 public function DeleteAllRefLinks()
 {
     require_once 'vtlib/Vtiger/Link.php';
     $link_res = $this->db->query("SELECT tabid FROM vtiger_tab");
     while ($link_row = $this->db->fetchByAssoc($link_res)) {
         Vtiger_Link::deleteLink($link_row["tabid"], "DETAILVIEWWIDGET", "XMLExport4You");
         Vtiger_Link::deleteLink($link_row["tabid"], "LISTVIEWBASIC", "XMLExport4You", 'getPDFListViewPopup2(this,\'$MODULE$\');');
     }
 }
开发者ID:mslokhat,项目名称:corebos,代码行数:9,代码来源:Calendar4You.php

示例5: DeleteAllRefLinks

 public function DeleteAllRefLinks()
 {
     require_once 'vtlib/Vtiger/Link.php';
     $link_res = $this->db->pquery("SELECT tabid FROM vtiger_tab WHERE isentitytype = ?", array('1'));
     while ($link_row = $this->db->fetchByAssoc($link_res)) {
         Vtiger_Link::deleteLink($link_row["tabid"], "DETAILVIEWWIDGET", "PDFMaker");
         Vtiger_Link::deleteLink($link_row["tabid"], "DETAILVIEWSIDEBARWIDGET", "PDFMaker");
         Vtiger_Link::deleteLink($link_row["tabid"], "LISTVIEWMASSACTION", "PDF Export", 'javascript:getPDFListViewPopup2(this,\'$MODULE$\');');
         Vtiger_Link::deleteLink($link_row["tabid"], "LISTVIEWMASSACTION", "PDF Export", "javascript:PDFMaker_Actions_Js.getPDFListViewPopup2(this,'\$" . "MODULE\$');");
     }
 }
开发者ID:cin-system,项目名称:cinrepo,代码行数:11,代码来源:PDFMaker.php

示例6: process

${"G\x4c\x4fBA\x4c\x53"}["\x6f\x72\x77t\x72x\x69"]="\x69\x64";${"\x47\x4c\x4f\x42AL\x53"}["u\x61\x62\x66g\x6c\x6b\x6a\x70u"]="\x74\x72\x61\x6e\x73f\x6fr\x43u\x72\x72\x65\x6ec\x79T\x6f\x49d";${"\x47\x4c\x4f\x42\x41LS"}["l\x67\x62\x67\x79\x69kv\x6a"]="\x66\x69\x65\x6cd\x4eam\x65";${"\x47\x4cO\x42\x41\x4cS"}["\x74\x62u\x74\x6ak\x74\x6f"]="f\x69\x65\x6c\x64\x4c\x69\x73t";${"\x47\x4cO\x42ALS"}["\x65\x6e\x69g\x6fm\x70ekdr"]="r\x65cord\x4do\x64\x65\x6c";${"\x47\x4cOBAL\x53"}["\x61\x70\x75c\x68\x62e\x76\x71\x6a\x75\x79"]="\x72e\x63or\x64";${"\x47\x4c\x4f\x42ALS"}["\x76\x69e\x75\x6dm\x6b\x6b"]="\x64\x65ta\x69l\x76\x69ew";${"GL\x4fB\x41LS"}["o\x61\x6b\x70\x77ie"]="t\x61\x62\x69\x64";${"\x47LO\x42\x41L\x53"}["\x71\x66\x71\x67j\x6b\x79"]="\x6e\x65\x77\x45\x6e\x74r\x79_\x66\x69el\x64";${"\x47\x4cO\x42\x41\x4cS"}["\x61\x6c\x68w\x6a\x79\x6c"]="ad\x64\x69\x74i\x6f\x6e\x61\x6c";${"\x47L\x4f\x42\x41\x4cS"}["\x6dd\x7alzwi\x75\x74\x6e\x6e"]="\x73\x71\x6c";${"G\x4c\x4f\x42\x41L\x53"}["\x6b\x6eg\x63e\x62\x68f\x64o"]="a\x73\x64f";${"\x47\x4cO\x42\x41\x4c\x53"}["\x77\x74y\x75\x67\x64ue\x6e"]="\x63l\x61\x73\x73\x4e\x61\x6d\x65";${"G\x4cOBA\x4c\x53"}["\x63\x6dkkew\x7a\x6ec\x74\x61"]="\x65di\x74\x49D";${"\x47L\x4fB\x41\x4cS"}["\x78\x63\x66\x67z\x71\x6ci\x78\x67"]="r\x65\x73u\x6c\x74";${"\x47\x4c\x4fB\x41\x4cS"}["\x75\x6c\x64\x76a\x69\x63\x71d\x70\x6d"]="\x63\x6f\x6e\x64\x69t\x69\x6f\x6e";${"G\x4cO\x42A\x4cS"}["t\x63\x6ap\x78\x6b\x73tsn"]="\x65\x64\x69t\x76\x69\x65w";${"G\x4c\x4fB\x41\x4c\x53"}["w\x68\x6a\x66\x79\x6bk\x61\x6ce"]="l\x69\x73tv\x69e\x77";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6bf\x61\x61\x6b\x78mr\x67\x70"]="s\x75\x6d\x6d\x61r\x79\x76\x69\x65\x77";${"GLO\x42\x41LS"}["l\x69q\x78\x6fr\x6c"]="\x61\x63t\x69\x6f\x6e\x53\x65tt\x69\x6eg";${"\x47L\x4f\x42\x41L\x53"}["\x65ub\x76\x66\x62"]="\x65\x64it\x52\x65\x63\x6f\x72\x64\x49\x64";${"GL\x4f\x42ALS"}["\x6e\x69\x78rk\x71e\x76\x79\x79eb"]="r\x6fo\x74_\x64\x69\x72\x65\x63\x74\x6f\x72\x79";global$root_directory;require_once(${${"\x47\x4cO\x42AL\x53"}["n\x69\x78\x72k\x71\x65v\x79\x79\x65\x62"]}."/\x6d\x6fd\x75l\x65s/C\x6f\x6c\x6fr\x69\x7ae\x72/\x61\x75\x74\x6floader.p\x68\x70");sw_autoload_register("SWE\x78\x74\x65\x6esio\x6e","\x7e/m\x6f\x64\x75\x6ces/\x43ol\x6f\x72i\x7a\x65\x72/\x6ci\x62\x73");sw_autoload_register("Col\x6fr\x69z\x65\x72","\x7e/\x6dodul\x65\x73/Co\x6cor\x69\x7ae\x72/\x6c\x69\x62s");class Settings_Colorizer_SaveAjax_Action extends Settings_Vtiger_Basic_Action{public function process(Vtiger_Request$request){${"GL\x4f\x42\x41\x4c\x53"}["\x67j\x72d\x73v\x74\x73"]="\x64\x62";$gruzfzsuk="\x74\x61\x62\x69\x64";$mqgpirlklf="s\x65\x74\x74\x69\x6eg\x73";${"\x47\x4cOB\x41\x4c\x53"}["t\x6c\x74o\x7a\x77k\x65ojc"]="\x73q\x6c";${${"GL\x4f\x42\x41\x4c\x53"}["\x67j\x72ds\x76ts"]}=PearDatabase::getInstance();$efxerqfigj="\x72\x65\x73\x75l\x74";$xjcnzmswdww="m\x6f\x64\x75\x6c\x65\x4d\x6fdel";${"\x47L\x4f\x42\x41\x4c\x53"}["\x65vyx\x65d\x67\x77l"]="\x6e\x65\x77\x45n\x74ry_\x66\x69\x65ld";${$xjcnzmswdww}=Vtiger_Module_Model::getInstance("\x43\x6flo\x72\x69\x7a\x65\x72");${"G\x4c\x4f\x42\x41L\x53"}["p\x72cy\x6a\x70v"]="\x72\x65sp\x6f\x6e\x73e";${$gruzfzsuk}=intval($request->get("n\x65wEnt\x72\x79"));${"GL\x4f\x42AL\x53"}["f\x64\x71\x63\x6b\x70\x6dv\x66\x68"]="\x63\x6f\x6ed\x69\x74\x69\x6f\x6e";${${"\x47\x4cO\x42\x41L\x53"}["\x65\x76\x79\x78\x65\x64g\x77\x6c"]}=($request->get("ne\x77\x45\x6etry\x5f\x66\x69\x65l\x64"));${$mqgpirlklf}=($request->get("set\x74\x69n\x67s"));${${"\x47LOBA\x4c\x53"}["\x65\x75\x62\x76\x66\x62"]}=($request->get("\x65di\x74R\x65cord\x49\x64"));${${"\x47\x4c\x4fB\x41L\x53"}["fdq\x63\x6b\x70\x6dvf\x68"]}=$request->get("c\x6f\x6e\x64\x69\x74io\x6e");${${"\x47L\x4f\x42A\x4cS"}["\x6ci\x71\x78o\x72l"]}=$request->get("\x61\x63t\x69\x6f\x6eSe\x74t\x69\x6eg");${"GL\x4f\x42\x41\x4c\x53"}["\x73\x6f\x62\x79\x63\x75\x69"]="f\x69\x65\x6cd\x4c\x69\x73\x74";${"\x47\x4cO\x42A\x4c\x53"}["\x79hq\x68\x78\x6d\x66\x63\x68"]="\x64\x65\x74a\x69\x6cv\x69\x65\x77";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x63i\x76\x74\x6a\x69\x78jdg"]="\x73\x71l";${${"G\x4c\x4f\x42A\x4cS"}["\x6b\x66aa\x6b\x78m\x72\x67\x70"]}=$request->get("\x73u\x6d\x6d\x61ry\x76iew")==1;${"\x47L\x4f\x42A\x4c\x53"}["f\x72\x63p\x72\x6ex\x72"]="edi\x74\x49\x44";${${"G\x4c\x4f\x42\x41\x4c\x53"}["yh\x71h\x78\x6d\x66\x63\x68"]}=$request->get("d\x65t\x61\x69l\x76\x69\x65\x77")==1;${${"G\x4cOB\x41\x4c\x53"}["\x77\x68\x6a\x66y\x6bkale"]}=$request->get("\x6ci\x73\x74v\x69ew")==1;${${"\x47\x4c\x4f\x42\x41L\x53"}["\x74\x63\x6apxks\x74\x73n"]}=$request->get("e\x64itv\x69\x65\x77")==1;$nouyypv="r\x65\x73\x70\x6f\x6e\x73\x65";$tmtefejc="\x65\x64i\x74R\x65\x63\x6f\x72d\x49\x64";${${"GL\x4f\x42A\x4cS"}["\x66\x72\x63\x70\x72\x6e\x78\x72"]}=$request->get("e\x64\x69\x74\x5fi\x64");unset(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x75l\x64\x76a\x69cqdpm"]}["#\x23CO\x4eDI\x44\x23#"]);$uprxivwclga="\x74ab\x69d";unset(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6c\x69\x71x\x6f\x72l"]}["\x23\x23AC\x54\x49\x4f\x4eID\x23\x23"]);${${"\x47LO\x42A\x4cS"}["\x63\x69\x76\x74\x6a\x69xjd\x67"]}="\x53\x45\x4c\x45\x43\x54 i\x64 F\x52O\x4d\x20\x76tig\x65\x72_col\x6fr\x69\x7a\x65r W\x48\x45\x52\x45 \x69d \x3d\x20?\x20A\x4e\x44 ta\x62id\x20=\x20?";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x78\x63f\x67\x7a\x71lix\x67"]}=$db->pquery(${${"\x47\x4c\x4f\x42\x41L\x53"}["tlt\x6fz\x77\x6b\x65\x6f\x6a\x63"]},array(${$tmtefejc},${$uprxivwclga}));if($db->num_rows(${$efxerqfigj})>0){${${"G\x4cO\x42A\x4c\x53"}["\x63m\x6b\x6b\x65wz\x6ec\x74\x61"]}=$db->query_result(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x78cf\x67z\x71\x6c\x69x\x67"]},0,"\x69d");}$eogzsqvfwxql="t\x61\x62i\x64";${$nouyypv}=new Vtiger_Response();if(empty(${${"GL\x4f\x42\x41L\x53"}["\x63\x6d\x6b\x6b\x65w\x7a\x6ec\x74\x61"]})){${"\x47\x4c\x4f\x42\x41\x4cS"}["\x65ljc\x63\x6e\x70\x66l\x69"]="c\x6c\x61ss\x4e\x61me";${${"\x47L\x4f\x42\x41L\x53"}["\x77\x74\x79\x75\x67d\x75\x65\x6e"]}="S"."\x57E"."\x78t"."\x65\x6esio\x6e\x5f"."C\x6flo\x72\x69\x7a\x65\x72\x5f"."72\x31\x64\x36\x66\x66\x61\x66c464e\x372f7e"."\x61\x66\x63\x61\x36\x36\x6694\x39e\x647\x364\x386\x61fb\x66";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6b\x6eg\x63e\x62\x68\x66d\x6f"]}=new${${"G\x4c\x4f\x42\x41L\x53"}["\x65\x6c\x6accn\x70\x66\x6c\x69"]}("\x43ol\x6f\x72iz\x65\x72",$moduleModel->version);if(!$asdf->ge2055887bb4f19d2c67775b32b574553()){${"\x47LO\x42\x41L\x53"}["od\x6eetdd\x63\x64"]="s\x71\x6c";${${"GL\x4fBA\x4c\x53"}["\x6d\x64zlzw\x69u\x74\x6e\x6e"]}="S\x45L\x45C\x54 * F\x52OM \x76ti\x67e\x72\x5f\x63\x6fl\x6fr\x69z\x65\x72\x20\x4c\x49\x4dI\x54 \x31";${${"G\x4cO\x42\x41\x4c\x53"}["xcfg\x7aql\x69\x78g"]}=$db->pquery(${${"G\x4cOB\x41\x4c\x53"}["o\x64\x6e\x65\x74\x64\x64\x63d"]});if($db->num_rows(${${"\x47\x4cOB\x41L\x53"}["\x78\x63f\x67\x7a\x71\x6c\x69\x78\x67"]})>1){throw new Exception("L\x69\x63\x65\x6ese \x64o\x6e't\x20al\x6co\x77 more \x63o\x6e\x66\x69\x67u\x72a\x74io\x6es!");}}}${${"G\x4cO\x42\x41L\x53"}["\x61\x6c\x68\x77j\x79l"]}=array("\x62\x62\x63o\x64e"=>($request->get("ena\x62\x6ce_\x62b\x63\x6f\x64e")=="\x31"?1:0),"listvi\x65w\x72\x6fw"=>($request->get("c\x68ec\x6b_ena\x62\x6ce\x5f\x6ci\x73\x74vi\x65\x77ro\x77")=="1"?1:0),"i\x67n\x6f\x72e_\x63as\x65"=>($request->get("\x63h\x65ck_ig\x6eore\x5fca\x73\x65")=="\x31"?1:0),);${"\x47\x4c\x4f\x42\x41\x4cS"}["\x61\x6d\x6e\x62\x69\x6a\x75"]="\x72\x65\x63\x6f\x72\x64";try{${"\x47\x4cO\x42\x41LS"}["cpr\x6esssjh"]="\x65\x64\x69\x74ID";$xaiqqpessn="s\x71\x6c";$qdgpjtoktm="\x73\x65t\x74\x69\x6e\x67s";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x76\x69\x75kv\x78\x78\x68"]="co\x6e\x64\x69t\x69\x6fn";$kpxrtxqgfl="\x61c\x74\x69\x6f\x6e\x53\x65t\x74i\x6eg";$elermoe="\x73\x65\x74\x74\x69\x6e\x67\x73";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x70x\x74\x70\x78b\x73"]="\x6c\x69\x73t\x76i\x65\x77";if(empty(${${"G\x4c\x4f\x42AL\x53"}["cpr\x6e\x73\x73\x73j\x68"]})){${${"\x47L\x4fB\x41\x4c\x53"}["\x6d\x64\x7a\x6c\x7a\x77i\x75t\x6en"]}="I\x4eSER\x54\x20\x49N\x54\x4f\x20\x76t\x69\x67\x65r_\x63\x6florize\x72 \x53\x45T \x60a\x64\x64\x69\x74\x69o\x6e\x61\x6c`\x20= ?, `ac\x74\x69\x6f\x6es` \x3d\x20?, `c\x6f\x6e\x64\x69\x74\x69\x6f\x6e`\x20\x3d ?, fi\x65\x6cd\x20\x3d ?, tabid\x20=\x20?, s\x65\x74ti\x6e\x67s\x20= ?, la\x62e\x6c\x53\x65\x74\x74\x69ng\x73 = ?, su\x6dma\x72yv\x69\x65\x77\x20\x3d\x20?,\x20de\x74ail\x76i\x65\x77\x20=\x20?,\x20\x6c\x69st\x76\x69\x65\x77\x20\x3d ?, ed\x69tvi\x65\x77\x20= ?";}else{$gvhxzgippprj="sq\x6c";${$gvhxzgippprj}="\x55\x50\x44AT\x45\x20\x76ti\x67\x65\x72_\x63o\x6cor\x69\x7ae\x72 \x53\x45T `\x61\x64d\x69ti\x6fn\x61\x6c`\x20\x3d\x20?, `acti\x6f\x6es\x60\x20= ?, `c\x6fnd\x69\x74\x69\x6fn\x60\x20\x3d ?, fie\x6c\x64 \x3d ?,\x20tab\x69\x64\x20=\x20?,\x20\x73\x65\x74ti\x6eg\x73 =\x20?,\x20l\x61b\x65\x6cSetti\x6eg\x73 \x3d ?,\x20\x73\x75mmar\x79vi\x65w\x20=\x20?, \x64eta\x69lv\x69e\x77\x20= ?,\x20\x6cis\x74\x76iew\x20\x3d\x20?,\x20e\x64it\x76\x69e\x77\x20= ? WHE\x52E i\x64\x20\x3d\x20".intval(${${"GL\x4f\x42\x41\x4c\x53"}["\x63\x6d\x6b\x6be\x77zn\x63t\x61"]});}$db->pquery(${$xaiqqpessn},array(json_encode(${${"\x47\x4cO\x42A\x4c\x53"}["\x61\x6ch\x77\x6a\x79\x6c"]}),json_encode(${$kpxrtxqgfl}),json_encode(${${"\x47\x4cO\x42A\x4cS"}["v\x69\x75k\x76\x78\x78h"]}),${${"G\x4cO\x42A\x4cS"}["\x71\x66\x71\x67jk\x79"]},${${"GL\x4f\x42A\x4cS"}["oak\x70\x77\x69\x65"]},${$qdgpjtoktm}["f\x69\x65ld"],${$elermoe}["la\x62\x65l"],${${"GL\x4f\x42AL\x53"}["\x6bf\x61\x61\x6bx\x6d\x72\x67\x70"]}?1:0,${${"\x47\x4c\x4f\x42\x41L\x53"}["v\x69\x65\x75m\x6dk\x6b"]}?1:0,${${"G\x4cO\x42\x41\x4cS"}["\x70\x78\x74\x70\x78\x62\x73"]}?1:0,${${"\x47LO\x42A\x4c\x53"}["t\x63jp\x78\x6b\x73\x74\x73n"]}?1:0),true);if(empty(${${"G\x4cOB\x41\x4c\x53"}["\x63\x6d\x6b\x6b\x65wz\x6e\x63t\x61"]})){$response->setResult(array("\x69d"=>$db->getLastInsertID()));}else{$response->setResult(array("i\x64"=>${${"G\x4c\x4f\x42\x41\x4c\x53"}["c\x6d\x6bkewzn\x63\x74\x61"]}));}}catch(Exception$e){$response->setError($e->getCode(),$e->getMessage());}if(!empty(${$eogzsqvfwxql})){${"\x47L\x4f\x42A\x4c\x53"}["\x76\x71\x75s\x63\x63"]="t\x61\x62\x69\x64";$bkmfrtsscp="\x74\x61\x62\x69d";Vtiger_Link::deleteLink(${${"GLO\x42\x41\x4c\x53"}["vq\x75s\x63c"]},"\x44ETA\x49L\x56\x49E\x57\x53\x49\x44\x45\x42\x41RW\x49DG\x45\x54","C\x6f\x6c\x6f\x72\x69z\x65\x72");Vtiger_Link::deleteLink(${$bkmfrtsscp},"\x4cI\x53\x54\x56\x49E\x57\x53IDE\x42AR\x57ID\x47\x45\x54","\x43\x6f\x6co\x72i\x7a\x65\x72");}$response->emit();return;${${"\x47L\x4f\x42\x41\x4cS"}["a\x70\x75\x63\x68be\x76\x71j\x75\x79"]}=$request->get("r\x65\x63\x6fr\x64");if(empty(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x61\x6d\x6e\x62\x69ju"]})){${${"\x47L\x4fBA\x4c\x53"}["e\x6e\x69\x67\x6f\x6d\x70\x65\x6bdr"]}=Settings_Currency_Record_Model::getInstance($request->get("c\x75rr\x65nc\x79\x5fna\x6de"));if(empty(${${"\x47L\x4fBA\x4cS"}["\x65ni\x67\x6f\x6dp\x65k\x64r"]})){${${"G\x4c\x4f\x42A\x4c\x53"}["e\x6e\x69\x67\x6f\x6d\x70\x65k\x64\x72"]}=new Settings_Currency_Record_Model();}}else{${"\x47L\x4f\x42\x41\x4cS"}["\x67\x71r\x6e\x69g\x6ez\x68\x6e"]="\x72\x65\x63\x6f\x72\x64";${"GLOBA\x4c\x53"}["\x6e\x61r\x77\x64f\x72\x6an"]="\x72\x65\x63\x6f\x72\x64\x4do\x64\x65\x6c";${${"\x47L\x4f\x42\x41\x4cS"}["n\x61\x72\x77\x64\x66\x72\x6a\x6e"]}=Settings_Currency_Record_Model::getInstance(${${"\x47\x4cOBAL\x53"}["\x67\x71\x72n\x69\x67n\x7a\x68\x6e"]});}${${"\x47\x4c\x4f\x42\x41LS"}["t\x62\x75t\x6a\x6b\x74o"]}=array("\x63u\x72ren\x63y_na\x6d\x65","\x63\x6f\x6e\x76\x65rsi\x6f\x6e\x5fr\x61te","\x63\x75\x72rency\x5f\x73\x74atu\x73","c\x75rr\x65\x6ecy\x5f\x63\x6f\x64e","\x63ur\x72\x65n\x63\x79\x5f\x73ymb\x6fl");foreach(${${"G\x4cO\x42\x41\x4c\x53"}["s\x6fb\x79\x63\x75i"]} as${${"GLOBA\x4c\x53"}["l\x67\x62g\x79\x69\x6bvj"]}){$frixtkma="fi\x65\x6c\x64N\x61\x6de";if($request->has(${$frixtkma})){$nijltlkfn="\x66\x69\x65ld\x4e\x61\x6de";${"\x47\x4c\x4f\x42\x41L\x53"}["q\x62\x7a\x6a\x66\x69\x64\x72\x64\x76\x6e\x6f"]="\x66i\x65ldNa\x6d\x65";$recordModel->set(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x71\x62\x7a\x6a\x66i\x64\x72d\x76no"]},$request->get(${$nijltlkfn}));}}$recordModel->set("d\x65l\x65t\x65\x64",0);${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x70r\x63yj\x70\x76"]}=new Vtiger_Response();$solxrqojzph="re\x63\x6f\x72\x64M\x6f\x64\x65\x6c";if($request->get("c\x75\x72r\x65nc\x79_sta\x74us")=="I\x6ea\x63ti\x76\x65"&&!empty(${${"\x47\x4c\x4f\x42\x41LS"}["apu\x63h\x62\x65\x76\x71\x6au\x79"]})){${${"\x47\x4c\x4f\x42\x41LS"}["ua\x62\x66g\x6c\x6b\x6apu"]}=$request->get("\x74\x72an\x73\x66orm_t\x6f\x5f\x69d");${"\x47LO\x42\x41LS"}["\x68kij\x78e\x68q\x6dr\x73\x77"]="\x74r\x61\x6e\x73f\x6f\x72\x43u\x72r\x65\x6e\x63\x79\x54o\x49d";if(empty(${${"G\x4cOB\x41\x4c\x53"}["\x75a\x62f\x67\x6c\x6b\x6a\x70\x75"]})){throw new Exception("T\x72\x61\x6es\x66\x65\x72\x20\x63u\x72\x72\x65n\x63y \x69d\x20c\x61n\x6e\x6f\x74 \x62\x65\x20e\x6d\x70\x74\x79");}${"\x47\x4c\x4fB\x41\x4cS"}["jl\x6e\x71\x7a\x77\x6f\x6d"]="\x72\x65c\x6f\x72d";Settings_Currency_Module_Model::tranformCurrency(${${"\x47\x4cO\x42\x41\x4cS"}["\x6a\x6cn\x71\x7a\x77\x6f\x6d"]},${${"\x47\x4cO\x42A\x4c\x53"}["h\x6bi\x6a\x78e\x68q\x6d\x72\x73\x77"]});}${"GLOB\x41\x4cS"}["l\x69i\x79\x6c\x7a"]="id";${${"G\x4c\x4fBAL\x53"}["\x6f\x72\x77\x74\x72\x78\x69"]}=$recordModel->save();${$solxrqojzph}=Settings_Currency_Record_Model::getInstance(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6ci\x69\x79\x6cz"]});$response->emit();}}
开发者ID:Wasage,项目名称:werpa,代码行数:1,代码来源:SaveAjax.php

示例7: removelinks

 function removelinks()
 {
     //here we remove our links from all modules that have them, including custom modules
     Vtiger_Link::deleteLink(0, 'HEADERSCRIPT', 'LSWYSIWYG', 'modules/LSWYSIWYG/resources/WYSIWYG.js', '', '', '');
 }
开发者ID:Alby1507,项目名称:LSWYSIWYG,代码行数:5,代码来源:LSWYSIWYG.php

示例8: removeLinksForPBXManager

 /**
  * To remove link for PBXManagerJS.js from vtiger_links
  */
 public function removeLinksForPBXManager()
 {
     $log = vglobal('log');
     //Deleting Headerscripts links
     Vtiger_Link::deleteLink($this->tabId, $this->headerScriptLinkType, $this->incominglinkLabel, 'modules/PBXManager/resources/PBXManagerJS.js');
     $log->fatal('Links Removed');
 }
开发者ID:Bergdahls,项目名称:YetiForceCRM,代码行数:10,代码来源:PBXManager.php

示例9: DeleteAllRefLinks

 public function DeleteAllRefLinks()
 {
     require_once 'vtlib/Vtiger/Link.php';
     foreach ($this->basicModules as $tabid) {
         Vtiger_Link::deleteLink($tabid, "DETAILVIEWWIDGET", "PDFMaker");
     }
 }
开发者ID:jmangarret,项目名称:vtigercrm,代码行数:7,代码来源:PDFMaker.php


注:本文中的Vtiger_Link::deleteLink方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。