/**
  * 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;
 }
 /**
  * Constructor.
  */
 public function __construct()
 {
     parent::__construct();
     $this->options['show_header'] = false;
     $this->options['show_footer'] = false;
     $this->options['show_javascript'] = false;
 }
Exemple #3
0
 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}";
     }
 }
 public function __construct()
 {
     parent::__construct();
     $this->medataDataFile = $this->fileName;
     if (file_exists("custom/{$this->fileName}")) {
         $this->medataDataFile = "custom/{$this->fileName}";
     }
 }
 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']);
     }
 }
 /**
  * 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();
 }
 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];
     }
 }
 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'] : '';
 }
Exemple #9
0
 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();
 }
 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']);
 }
Exemple #11
0
 public function __construct()
 {
     parent::__construct();
 }
 /**
  * Constructor
  */
 public function AddFontView()
 {
     parent::__construct();
 }
 /**
  * @see SugarView::SugarView()
  */
 public function __construct($bean = null, $view_object_map = array())
 {
     parent::__construct();
     $this->type = $this->action;
 }
Exemple #14
0
 function ViewMain()
 {
     $this->options['show_footer'] = false;
     parent::__construct();
 }
 /**
  * Constructor
  */
 public function FontManager()
 {
     parent::__construct();
 }
 public function __construct()
 {
     parent::__construct();
     $this->currentStep = isset($_REQUEST['current_step']) ? $_REQUEST['current_step'] + 1 : 1;
 }
Exemple #17
0
	function CalendarViewSettings(){
 		parent::__construct();
	}
Exemple #18
0
 /**
  * Constructor
  *
  * @see SugarView::SugarView()
  */
 public function __construct($bean = null, $view_object_map = array())
 {
     parent::__construct($bean, $view_object_map);
 }
 function __construct()
 {
     parent::__construct();
     $this->type = $this->action;
 }
 function ContactAddressPopup()
 {
     parent::__construct();
 }
Exemple #21
0
 public function __construct($bean = null, $view_object_map = array())
 {
     parent::__construct($bean, $view_object_map);
     $this->currentStep = isset($_REQUEST['current_step']) ? $_REQUEST['current_step'] + 1 : 1;
 }
Exemple #22
0
 function __construct()
 {
     $this->options['show_footer'] = true;
     parent::__construct();
 }