コード例 #1
0
ファイル: BxBaseFormView.php プロジェクト: blas-dmx/trident
 /**
  * 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';
     }
 }
コード例 #2
0
 /**
  * Constructor
  *
  * @param array $aInfo Form contents
  *
  * $aInfo['params'] = array(
  *     'remove_form' => true|false,
  * );
  *
  * @return BxBaseFormView
  */
 function __construct($aInfo)
 {
     parent::__construct($aInfo);
 }