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


PHP SugarView::__construct方法代码示例

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


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

示例1: __construct

 /**
  * Constructor.
  */
 public function __construct($bean = null, $view_object_map = array())
 {
     parent::__construct($bean, $view_object_map);
     $this->options['show_header'] = false;
     $this->options['show_footer'] = false;
     $this->options['show_javascript'] = false;
 }
开发者ID:sacredwebsite,项目名称:SuiteCRM,代码行数:10,代码来源:view.wizard.php

示例2: __construct

 /**
  * Constructor.
  */
 public function __construct()
 {
     parent::__construct();
     $this->options['show_header'] = false;
     $this->options['show_footer'] = false;
     $this->options['show_javascript'] = false;
 }
开发者ID:butschster,项目名称:sugarcrm_dev,代码行数:10,代码来源:view.wizard.php

示例3: __construct

 public function __construct($bean = null, $view_object_map = array())
 {
     parent::__construct($bean, $view_object_map);
     $this->medataDataFile = $this->fileName;
     if (file_exists("custom/{$this->fileName}")) {
         $this->medataDataFile = "custom/{$this->fileName}";
     }
 }
开发者ID:recci,项目名称:SuiteCRM,代码行数:8,代码来源:view.convertlead.php

示例4: __construct

 public function __construct()
 {
     parent::__construct();
     $this->medataDataFile = $this->fileName;
     if (file_exists("custom/{$this->fileName}")) {
         $this->medataDataFile = "custom/{$this->fileName}";
     }
 }
开发者ID:butschster,项目名称:sugarcrm_dev,代码行数:8,代码来源:view.convertlead.php

示例5: __construct

 public function __construct()
 {
     parent::__construct();
     if (isset($_REQUEST["sugarpdf"])) {
         $this->sugarpdf = $_REQUEST["sugarpdf"];
     } else {
         header('Location:index.php?module=' . $_REQUEST['module'] . '&action=DetailView&record=' . $_REQUEST['record']);
     }
 }
开发者ID:sacredwebsite,项目名称:SuiteCRM,代码行数:9,代码来源:view.sugarpdf.php

示例6: __construct

 /**
  * Constructor
  *
  * @see SugarView::SugarView()
  */
 public function __construct()
 {
     $this->options['show_title'] = true;
     $this->options['show_header'] = true;
     $this->options['show_footer'] = true;
     $this->options['show_javascript'] = true;
     $this->options['show_subpanels'] = false;
     $this->options['show_search'] = false;
     parent::__construct();
 }
开发者ID:butschster,项目名称:sugarcrm_dev,代码行数:15,代码来源:view.ajaxui.php

示例7: __construct

 public function __construct()
 {
     global $app_strings;
     parent::__construct();
     foreach ($this->vars as $var) {
         if (!isset($_REQUEST[$var])) {
             sugar_die($app_strings['ERR_MISSING_REQUIRED_FIELDS'] . $var);
         }
         $this->{$var} = $_REQUEST[$var];
     }
 }
开发者ID:jglaine,项目名称:sugar761-ent,代码行数:11,代码来源:view.getfields.php

示例8: __construct

 public function __construct()
 {
     global $mod_strings;
     parent::__construct();
     if (isset($_REQUEST['button']) && trim($_REQUEST['button']) == htmlentities($mod_strings['LBL_BACK'])) {
         // if the request comes from the "Back" button, decrease the step count
         $this->currentStep = isset($_REQUEST['current_step']) ? $_REQUEST['current_step'] - 1 : 1;
     } else {
         $this->currentStep = isset($_REQUEST['current_step']) ? $_REQUEST['current_step'] + 1 : 1;
     }
     $this->importModule = isset($_REQUEST['import_module']) ? $_REQUEST['import_module'] : '';
 }
开发者ID:butschster,项目名称:sugarcrm_dev,代码行数:12,代码来源:ImportView.php

示例9: __construct

 public function __construct()
 {
     $this->fullView = !empty($_REQUEST['full']) ? TRUE : FALSE;
     if ($this->fullView) {
         $this->options = array('show_title' => true, 'show_header' => true, 'show_footer' => true, 'show_javascript' => true, 'show_subpanels' => false, 'show_search' => false);
         $this->templateName = 'fts_full.tpl';
     } else {
         $this->options = array('show_title' => false, 'show_header' => false, 'show_footer' => false, 'show_javascript' => false, 'show_subpanels' => false, 'show_search' => false);
         $this->templateName = 'fts_spot.tpl';
     }
     parent::__construct();
 }
开发者ID:jglaine,项目名称:sugar761-ent,代码行数:12,代码来源:view.fts.php

示例10: __construct

 public function __construct()
 {
     parent::__construct();
     foreach ($this->vars as $var) {
         if (!isset($_REQUEST[$var])) {
             sugar_die("Required paramter {$var} not set in ViewRelFields");
         }
         $this->{$var} = $_REQUEST[$var];
     }
     $mb = new ModuleBuilder();
     $this->package = empty($_REQUEST['package']) || $_REQUEST['package'] == 'studio' ? "" : $mb->getPackage($_REQUEST['package']);
 }
开发者ID:jglaine,项目名称:sugar761-ent,代码行数:12,代码来源:view.selectrelatedfield.php

示例11: __construct

 public function __construct()
 {
     parent::__construct();
 }
开发者ID:auf,项目名称:crm_auf_org,代码行数:4,代码来源:view.list.php

示例12: AddFontView

 /**
  * Constructor
  */
 public function AddFontView()
 {
     parent::__construct();
 }
开发者ID:sacredwebsite,项目名称:SuiteCRM,代码行数:7,代码来源:view.addfontview.php

示例13: __construct

 /**
  * @see SugarView::SugarView()
  */
 public function __construct($bean = null, $view_object_map = array())
 {
     parent::__construct();
     $this->type = $this->action;
 }
开发者ID:sacredwebsite,项目名称:SuiteCRM,代码行数:8,代码来源:view.classic.php

示例14: ViewMain

 function ViewMain()
 {
     $this->options['show_footer'] = false;
     parent::__construct();
 }
开发者ID:butschster,项目名称:sugarcrm_dev,代码行数:5,代码来源:view.main.php

示例15: FontManager

 /**
  * Constructor
  */
 public function FontManager()
 {
     parent::__construct();
 }
开发者ID:sacredwebsite,项目名称:SuiteCRM,代码行数:7,代码来源:view.fontmanager.php


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