public function __construct()
 {
     parent::ViewAjax();
     foreach ($this->vars as $var) {
         if (empty($_REQUEST[$var])) {
             sugar_die("Required paramter {$var} not set in ViewRelFields");
         }
         $this->{$var} = $_REQUEST[$var];
     }
 }
 public function __construct()
 {
     parent::ViewAjax();
     foreach ($this->vars as $var) {
         if (empty($_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']);
 }
Example #3
0
 public function __construct()
 {
     parent::__construct();
 }
Example #4
0
 public function fill()
 {
     parent::fill();
 }
Example #5
0
 /**
  * Constructor
  *
  * @see SugarView::SugarView()
  */
 public function ViewSpot()
 {
     $this->options['show_header'] = true;
     parent::SugarView();
 }
Example #6
0
 public function fill()
 {
     parent::fill();
     $this->set_template('main/index.tpl');
 }