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']); }
public function __construct() { parent::__construct(); }
public function fill() { parent::fill(); }
/** * Constructor * * @see SugarView::SugarView() */ public function ViewSpot() { $this->options['show_header'] = true; parent::SugarView(); }
public function fill() { parent::fill(); $this->set_template('main/index.tpl'); }