function __construct($aParams) { parent::__construct(isset($aParams['page']) ? $aParams['page'] : ''); $this->aParams = $aParams; $this->sSubpageUrl = $this->aParams['url'] . '&form_page='; $this->oModule = BxDolModule::getInstance('bx_developer'); $this->aGridObjects = array('forms' => $this->oModule->_oConfig->getObject('grid_forms'), 'displays' => $this->oModule->_oConfig->getObject('grid_forms_displays'), 'fields' => $this->oModule->_oConfig->getObject('grid_forms_fields'), 'pre_lists' => $this->oModule->_oConfig->getObject('grid_forms_pre_lists'), 'pre_values' => $this->oModule->_oConfig->getObject('grid_forms_pre_values')); $this->oModule->_oTemplate->addStudioCss(array('forms.css')); }
function __construct($aParams) { parent::__construct(isset($aParams['page']) ? $aParams['page'] : ''); $this->aParams = $aParams; $this->sSubpageUrl = $this->aParams['url'] . '&form_page='; bx_import('BxDolModule'); $this->oModule = BxDolModule::getInstance('bx_developer'); $this->oModule->_oTemplate->addStudioCss(array('forms.css')); }