Exemplo n.º 1
0
 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']);
 }