function __construct($view, $moduleName, $packageName = '')
 {
     $this->search = $view == MB_DASHLETSEARCH ? true : false;
     $this->_moduleName = $moduleName;
     $this->_packageName = $packageName;
     $this->_view = $view;
     if ($this->search) {
         $this->columns = array('LBL_DEFAULT' => 'getAdditionalFields', 'LBL_HIDDEN' => 'getAvailableFields');
         parent::__construct(MB_DASHLETSEARCH, $moduleName, $packageName);
     } else {
         parent::__construct(MB_DASHLET, $moduleName, $packageName);
     }
 }
 function __construct($view, $moduleName, $packageName = '')
 {
     $this->search = $view == MB_POPUPSEARCH ? true : false;
     $this->_moduleName = $moduleName;
     $this->_packageName = $packageName;
     $this->_view = $view;
     $this->columns = array('LBL_DEFAULT' => 'getDefaultFields', 'LBL_HIDDEN' => 'getAvailableFields');
     if ($this->search) {
         $this->columns = array('LBL_DEFAULT' => 'getSearchFields', 'LBL_HIDDEN' => 'getAvailableFields');
         parent::__construct(MB_POPUPSEARCH, $moduleName, $packageName);
     } else {
         parent::__construct(MB_POPUPLIST, $moduleName, $packageName);
     }
     $this->_viewdefs = $this->mergeFieldDefinitions($this->_viewdefs, $this->_fielddefs);
 }
 function __construct($moduleName, $packageName = '')
 {
     parent::__construct(MB_LISTVIEW, $moduleName, $packageName);
 }
 public function __construct($view, $moduleName, $packageName = '', $client = '')
 {
     parent::__construct($view, $moduleName, $packageName, $client);
     $this->_paneldefs = $this->implementation->getPanelDefs();
 }