当前位置: 首页>>代码示例>>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;未经允许,请勿转载。