コード例 #1
0
 public function __construct($aOptions, $oTemplate = false)
 {
     parent::__construct($aOptions, $oTemplate);
     $this->oDb = new BxDolStudioPermissionsQuery();
     $iLevel = (int) bx_get('level');
     if ($iLevel > 0) {
         $this->iLevel = $iLevel;
     }
     $this->_aQueryAppend['level'] = $this->iLevel;
 }
コード例 #2
0
 function __construct($aOptions, $oTemplate = false)
 {
     parent::__construct($aOptions, $oTemplate);
     $this->oModule = BxDolModule::getInstance('bx_developer');
     $this->aLanguages = BxDolLanguages::getInstance()->getLanguages();
     $iWidth = floor(100 / (count($this->aLanguages) + 1));
     $this->_aOptions['fields']['title']['width'] = $iWidth;
     foreach ($this->aLanguages as $sName => $sTitle) {
         $this->_aOptions['fields'][$sName] = array('title' => $sTitle, 'width' => $iWidth, 'translatable' => '0', 'chars_limit' => '0');
     }
 }
コード例 #3
0
 public function __construct($aOptions, $oTemplate = false)
 {
     parent::__construct($aOptions, $oTemplate);
     $this->oDb = new BxDolStudioFormsQuery();
     $sModule = bx_get('module');
     if (!empty($sModule)) {
         $this->sModule = bx_process_input($sModule);
         $this->_aQueryAppend['module'] = $this->sModule;
     }
     $sList = bx_get('list');
     if (!empty($sList)) {
         $this->sList = bx_process_input($sList);
         $this->_aQueryAppend['list'] = $this->sList;
     }
 }
コード例 #4
0
 public function __construct($aOptions, $oTemplate = false)
 {
     parent::__construct($aOptions, $oTemplate);
     $this->oDb = new BxDolStudioFormsQuery();
     $sModule = bx_get('module');
     if (!empty($sModule)) {
         $this->sModule = bx_process_input($sModule);
         $this->_aQueryAppend['module'] = $this->sModule;
     }
     $sObject = bx_get('object');
     if (!empty($sObject)) {
         $this->sObject = bx_process_input($sObject);
         $this->_aQueryAppend['object'] = $this->sObject;
     }
     $sDisplay = bx_get('display');
     if (!empty($sDisplay)) {
         $this->sDisplay = bx_process_input($sDisplay);
         $this->_aQueryAppend['display'] = $this->sDisplay;
     }
 }
コード例 #5
0
 public function __construct($aOptions, $oTemplate = false)
 {
     parent::__construct($aOptions, $oTemplate);
     $this->oDb = new BxDolStudioFormsQuery();
 }
コード例 #6
0
 public function __construct($aOptions, $oTemplate = false)
 {
     parent::__construct($aOptions, $oTemplate);
     $this->oDb = new BxDolStudioPolyglotQuery();
     $this->iPreviewLength = BX_DOL_STUDIO_PK_PREVIEW;
 }
コード例 #7
0
 function __construct($aOptions, $oTemplate = false)
 {
     parent::__construct($aOptions, $oTemplate);
 }