當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。