/** * Constructor * * @param array $aInfo Form contents * * $aInfo['params'] = array( * 'remove_form' => true|false, * ); * * @return BxBaseFormView */ function __construct($aInfo, $oTemplate) { parent::__construct($aInfo, $oTemplate); if (isset($this->aParams['view_mode']) && $this->aParams['view_mode']) { $this->_sSectionClose = 'getCloseSectionViewMode'; $this->_sSectionOpen = 'getOpenSectionViewMode'; } }
/** * Constructor * * @param array $aInfo Form contents * * $aInfo['params'] = array( * 'remove_form' => true|false, * ); * * @return BxBaseFormView */ function __construct($aInfo) { parent::__construct($aInfo); }