當前位置: 首頁>>代碼示例>>PHP>>正文


PHP SugarView::SugarView方法代碼示例

本文整理匯總了PHP中SugarView::SugarView方法的典型用法代碼示例。如果您正苦於以下問題:PHP SugarView::SugarView方法的具體用法?PHP SugarView::SugarView怎麽用?PHP SugarView::SugarView使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在SugarView的用法示例。


在下文中一共展示了SugarView::SugarView方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: __construct

 /**
  * Constructor.
  */
 public function __construct()
 {
     parent::SugarView();
     $this->options['show_header'] = false;
     $this->options['show_footer'] = false;
     $this->options['show_javascript'] = false;
 }
開發者ID:MexinaD,項目名稱:SuiteCRM,代碼行數:10,代碼來源:view.wizard.php

示例2: __construct

 public function __construct()
 {
     parent::SugarView();
     // this request vars check in controller
     $this->report_module = $_REQUEST['report_module'];
     $this->record = $_REQUEST['record'];
 }
開發者ID:omusico,項目名稱:sugar_work,代碼行數:7,代碼來源:view.getofficeform.php

示例3: ViewMacro

 function ViewMacro()
 {
     parent::SugarView();
     $this->connection = getZendeskConnection();
     $this->bean = new zd_Tickets();
     $this->bean->load_from_db($_REQUEST['record']);
 }
開發者ID:nunoabc,項目名稱:Web2,代碼行數:7,代碼來源:view.macro.php

示例4: __construct

 public function __construct()
 {
     if (isset($_REQUEST['as_frame']) and $_REQUEST['as_frame'] == "true") {
         $this->options = array('show_header' => true, 'show_title' => false, 'show_subpanels' => false, 'show_search' => false, 'show_footer' => false, 'show_javascript' => true, 'view_print' => true);
         $this->showTitle = false;
     }
     parent::SugarView();
 }
開發者ID:omusico,項目名稱:sugar_work,代碼行數:8,代碼來源:view.showcode.php

示例5: ViewEditFormula

 function ViewEditFormula()
 {
     $this->options['show_footer'] = false;
     if (isset($_REQUEST['embed']) && $_REQUEST['embed']) {
         $this->options['show_header'] = false;
     }
     parent::SugarView();
 }
開發者ID:jglaine,項目名稱:sugar761-ent,代碼行數:8,代碼來源:view.editformula.php

示例6: __construct

 public function __construct($bean = null, $view_object_map = array())
 {
     parent::SugarView($bean, $view_object_map);
     $this->medataDataFile = $this->fileName;
     if (file_exists("custom/{$this->fileName}")) {
         $this->medataDataFile = "custom/{$this->fileName}";
     }
 }
開發者ID:MexinaD,項目名稱:SuiteCRM,代碼行數:8,代碼來源:view.convertlead.php

示例7: xeBayOrdersViewAutomessage

 function xeBayOrdersViewAutomessage()
 {
     date_default_timezone_set("America/Los_Angeles");
     set_time_limit(60 * 30);
     $bean = BeanFactory::getBean('xeBayAccounts');
     $this->accounts = $bean->get_accounts();
     parent::SugarView();
 }
開發者ID:sunmo,項目名稱:snowlotus,代碼行數:8,代碼來源:view.automessage.php

示例8: ViewSugarpdf

 function ViewSugarpdf()
 {
     parent::SugarView();
     if (isset($_REQUEST["sugarpdf"])) {
         $this->sugarpdf = $_REQUEST["sugarpdf"];
     } else {
         header('Location:index.php?module=' . $_REQUEST['module'] . '&action=DetailView&record=' . $_REQUEST['record']);
     }
 }
開發者ID:delkyd,項目名稱:sugarcrm_dev,代碼行數:9,代碼來源:view.sugarpdf.php

示例9: ViewAjax

 /**
  * Constructor
  *
  * @see SugarView::SugarView()
  */
 public function ViewAjax()
 {
     $this->options['show_title'] = false;
     $this->options['show_header'] = false;
     $this->options['show_footer'] = false;
     $this->options['show_javascript'] = false;
     $this->options['show_subpanels'] = false;
     $this->options['show_search'] = false;
     parent::SugarView();
 }
開發者ID:delkyd,項目名稱:sugarcrm_dev,代碼行數:15,代碼來源:view.ajax.php

示例10: die

 function __construct()
 {
     parent::SugarView();
     global $current_user;
     if (!$current_user->isDeveloperForModule("Leads")) {
         die("Unauthorized Access to Administration");
     }
     $this->jsonHelper = getJSONobj();
     $this->parser = new ConvertLayoutMetadataParser("Contacts");
     if (isset($_REQUEST['updateConvertDef']) && $_REQUEST['updateConvertDef'] && !empty($_REQUEST['data'])) {
         $this->parser->updateConvertDef(object_to_array_recursive($this->jsonHelper->decode(html_entity_decode_utf8($_REQUEST['data']))));
         // clear the cache for this module only
         MetaDataManager::refreshModulesCache(array('Leads'));
     }
 }
開發者ID:jglaine,項目名稱:sugar761-ent,代碼行數:15,代碼來源:view.editconvert.php

示例11:

 function reg_invoicesViewAjaxmain()
 {
     $this->options['show_title'] = false;
     $this->options['show_header'] = false;
     $this->options['show_footer'] = false;
     $this->options['show_javascript'] = false;
     $this->options['show_subpanels'] = false;
     $this->options['show_search'] = false;
     parent::SugarView();
     $this->options['show_title'] = false;
     $this->options['show_header'] = false;
     $this->options['show_footer'] = false;
     $this->options['show_javascript'] = false;
     $this->options['show_subpanels'] = false;
     $this->options['show_search'] = false;
 }
開發者ID:pixprod,項目名稱:Regoluna-Invoices-for-SugarCRM,代碼行數:16,代碼來源:view.ajaxmain.php

示例12: ViewAssociated

 function ViewAssociated()
 {
     parent::SugarView();
     $zendesk_helper = new ZendeskHelper();
     $this->focus = new $_REQUEST['focus']();
     $this->focus = $this->focus->retrieve($_REQUEST['rec']);
     $this->per_page = $zendesk_helper->getConfigValue('per_page', 6);
     $this->sort = $zendesk_helper->getConfigValue('sort', '1') == 1 ? 'desc' : 'asc';
     $this->order_by = $zendesk_helper->getConfigValue('order_by', 'priority');
     $this->status_filter = $zendesk_helper->getConfigValue('status_filter', 'any');
     $this->priority_filter = $zendesk_helper->getConfigValue('priority_filter', 'lsolved');
     $this->type_filter = $zendesk_helper->getConfigValue('type_filter', 'any');
     if ($_REQUEST['page']) {
         $this->page = $_REQUEST['page'];
     }
     if ($_REQUEST['sort']) {
         $this->sort = $_REQUEST['sort'];
     }
     if ($_REQUEST['order_by']) {
         $this->order_by = $_REQUEST['order_by'];
     }
     if ($_REQUEST['status_filter']) {
         $this->status_filter = $_REQUEST['status_filter'];
     }
     if ($_REQUEST['priority_filter']) {
         $this->priority_filter = $_REQUEST['priority_filter'];
     }
     if ($_REQUEST['type_filter']) {
         $this->type_filter = $_REQUEST['type_filter'];
     }
     $this->error_message = null;
     try {
         $this->connection = getZendeskConnection();
     } catch (Exception $e) {
         $this->error_message = $e->getMessage();
     }
 }
開發者ID:nunoabc,項目名稱:Web2,代碼行數:37,代碼來源:view.associated.php

示例13:

 function Viewexport2word()
 {
     parent::SugarView();
 }
開發者ID:sysraj86,項目名稱:carnivalcrm,代碼行數:4,代碼來源:view.export2word.php

示例14: ViewMultiedit

 function ViewMultiedit()
 {
     parent::SugarView();
 }
開發者ID:delkyd,項目名稱:sugarcrm_dev,代碼行數:4,代碼來源:view.multiedit.php

示例15: ViewSidequickcreate

 function ViewSidequickcreate()
 {
     parent::SugarView();
 }
開發者ID:klr2003,項目名稱:sourceread,代碼行數:4,代碼來源:view.sidequickcreate.php


注:本文中的SugarView::SugarView方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。