예제 #1
0
 protected function _getFormObject($sAction, $iId)
 {
     $oForm = parent::_getFormObject($sAction, $iId);
     $sPrivacyObject = 'comments_view';
     $sFieldName = BxDolPrivacy::getFieldName($sPrivacyObject);
     $aFieldDescriptor = BxDolPrivacy::getGroupChooser($sPrivacyObject);
     $aFieldDescriptor['caption'] = '';
     $oForm->aInputs = bx_array_insert_after(array($sFieldName => $aFieldDescriptor), $oForm->aInputs, 'cmt_text');
     return $oForm;
 }