1C-Bitrix 25.700.0
|
Открытые статические члены | |
static | ShowRequired () |
static | CheckTemplate ($FORM_TEMPLATE, &$arrFS) |
static | PrepareFormData ($arrFS) |
Поля данных | |
$__cache_path = "" | |
$__cache_file_header = "<?if(!defined(\"B_PROLOG_INCLUDED\") || B_PROLOG_INCLUDED!==true)die();?><?=\$FORM->ShowFormHeader();?>" | |
$__cache_file_footer = "<?=\$FORM->ShowFormFooter();?>" | |
$__admin | |
$WEB_FORM_ID | |
$WEB_FORM_NAME | |
$arParams | |
$arForm | |
$arQuestions | |
$arAnswers | |
$arDropDown | |
$arMultiSelect | |
$arrRESULT_PERMISSION = array() | |
$arrVALUES | |
$RESULT_ID | |
$arResult | |
$strFormNote | |
$F_RIGHT | |
$CAPTCHACode | |
$bSimple | |
$__error_msg = "" | |
$__form_validate_errors = "" | |
$__cache_file_name | |
$__form_image_cache = "" | |
$__form_image_path_cache = "" | |
$__form_input_caption_image_cache = array() | |
$__form_input_caption_image_path_cache = array() | |
$comp2 = false | |
$bIsFormValidateErrors = false |
Form output class - templates management & final output
См. определение в файле form_callformoutput.php строка 6
__construct | ( | ) |
См. определение в файле form_callformoutput.php строка 51
__admin_GetInputAnswersStructure | ( | $FIELD_SID | ) |
См. определение в файле form_callformoutput.php строка 359
__admin_GetInputType | ( | $FIELD_SID | ) |
См. определение в файле form_callformoutput.php строка 339
__admin_ShowInputCaption | ( | $FIELD_SID, | |
$caption_css_class = "", | |||
$unform = false ) |
См. определение в файле form_callformoutput.php строка 448
__check_form_cache | ( | ) |
Private method used to check out for template and template cache file Returns true whether tpl file exists and puts its path to private property __cache_file_name. Otherwise returns false
См. определение в файле form_callformoutput.php строка 141
|
static |
См. определение в файле form_callformoutput.php строка 1076
getFormImagePath | ( | ) |
См. определение в файле form_callformoutput.php строка 1210
getInputCaptionImagePath | ( | $FIELD_SID | ) |
См. определение в файле form_callformoutput.php строка 1219
GetResultStatusCSSClass | ( | ) |
См. определение в файле form_callformoutput.php строка 1047
IncludeFormCustomTemplate | ( | ) |
См. определение в файле form_callformoutput.php строка 94
IncludeFormTemplate | ( | ) |
См. определение в файле form_callformoutput.php строка 112
InitializeTemplate | ( | $arParams, | |
$arResult ) |
См. определение в файле form_callformoutput.php строка 56
isAccessForm | ( | ) |
См. определение в файле form_callformoutput.php строка 1183
isAccessFormParams | ( | ) |
См. определение в файле form_callformoutput.php строка 1178
isAccessFormResult | ( | $arrResult | ) |
См. определение в файле form_callformoutput.php строка 1188
isAccessFormResultEdit | ( | ) |
См. определение в файле form_callformoutput.php строка 1195
isAccessFormResultList | ( | ) |
См. определение в файле form_callformoutput.php строка 1205
isAccessFormResultView | ( | ) |
См. определение в файле form_callformoutput.php строка 1200
isFormDescription | ( | ) |
Public: check whether form has description
См. определение в файле form_callformoutput.php строка 937
isFormErrors | ( | ) |
Public method used to check whether there were some form validation errors Use: <?if($FORM->isFormErrors()):?>There're some errors!<?endif?>
См. определение в файле form_callformoutput.php строка 205
isFormImage | ( | ) |
Public: check if form has image
См. определение в файле form_callformoutput.php строка 990
isFormNote | ( | ) |
Public: check whether form has note string (like 'Changes saved')
См. определение в файле form_callformoutput.php строка 277
isFormTitle | ( | ) |
Public: check whether current form has title string
См. определение в файле form_callformoutput.php строка 1014
isInputCaptionImage | ( | $FIELD_SID | ) |
Public method used to check wheter current question has image Use: <?=($FORM->isInputCaptionImage('MYFIELD_5') ? "image: ".$FORM->ShowInputCaptionImage('MYFIELD_5') : "no image")?>
string | $FIELD_SID |
См. определение в файле form_callformoutput.php строка 524
isResultStatusChangeAccess | ( | ) |
См. определение в файле form_callformoutput.php строка 1052
isStatisticIncluded | ( | ) |
См. определение в файле form_callformoutput.php строка 129
isUseCaptcha | ( | ) |
Public method used to check whether current form uses captcha. Use: <?if($FORM->isUseCaptcha()):?>form uses CAPTCHA<?else:?>form doesnt use CAPTCHA<?endif;?>
См. определение в файле form_callformoutput.php строка 836
|
static |
См. определение в файле form_callformoutput.php строка 1127
setError | ( | $error | ) |
См. определение в файле form_callformoutput.php строка 1173
setInputDefaultValue | ( | $FIELD_SID, | |
$value, | |||
$ANSWER_ID = false ) |
См. определение в файле form_callformoutput.php строка 1228
ShowApplyButton | ( | $caption = "", | |
$css_style = "" ) |
Public method used to put apply button onto form. Use: <?=$FORM->ShowApplyButton()?>
См. определение в файле form_callformoutput.php строка 897
ShowCaptcha | ( | ) |
Public: show both CAPTCHA fields with default formating
См. определение в файле form_callformoutput.php строка 873
ShowCaptchaField | ( | ) |
Public method used to put CAPTCHA input field onto form. Use: <?=$FORM->ShowCaptchaField()?>
См. определение в файле form_callformoutput.php строка 861
ShowCaptchaImage | ( | ) |
Public method used to put CAPTCHA image onto form. Use: <?=$FORM->ShowCaptchaImage()?>
См. определение в файле form_callformoutput.php строка 847
ShowDateFormat | ( | $css_style = "" | ) |
См. определение в файле form_callformoutput.php строка 1057
ShowErrorMsg | ( | ) |
Get current form runtime error code string use $MESS from lang file to customize error messages
См. определение в файле form_callformoutput.php строка 288
ShowFormDescription | ( | $css_style = "" | ) |
Public method used to put form description onto form page Use: <?=$FORM->ShowFormDescription()?>
См. определение в файле form_callformoutput.php строка 923
ShowFormErrors | ( | ) |
Public method used to show formatted form errors Use: <?=$FORM->ShowFormErrors()?>
См. определение в файле form_callformoutput.php строка 219
ShowFormErrorsText | ( | ) |
Public method used to show unformatted form errors Use: <font color="red"><?=$FORM->ShowFormErrorsText()?></font>
См. определение в файле form_callformoutput.php строка 240
ShowFormFooter | ( | ) |
Public method used to put form footer (end <form> tag) Added to form template automatically
См. определение в файле form_callformoutput.php строка 334
ShowFormHeader | ( | ) |
Public method used to put form header (<form> tag and hidden fields) Added to form template automatically
См. определение в файле form_callformoutput.php строка 299
ShowFormImage | ( | $sAlign = "", | |
$iMaxW = "", | |||
$iMaxH = "", | |||
$bPopup = "N", | |||
$strPopupTitle = "", | |||
$sHSpace = "", | |||
$sVSpace = "", | |||
$sBorder = "" ) |
Public: shows form image; params like CFile::ShowImage() Use: <?=$FORM->ShowFormImage(250, 250, "hspace=\"0\" vspace=\"0\" align=\"left\" border=\"0\"", "", true, GetMessage("FORM_ENLARGE"))?> Returns image code if image exists and empty string otherwise
int | $iMaxW | |
int | $iMaxH | |
string | $sParams | |
string | $strImageUrl | |
bool | $bPopup | |
mixed | $strPopupTitle |
См. определение в файле form_callformoutput.php строка 956
ShowFormNote | ( | ) |
Public: shows form note formatted string if any (like 'Changes saved')
См. определение в файле form_callformoutput.php строка 253
ShowFormNoteText | ( | ) |
Public: shows form note unformatted string if any (like 'Changes saved')
См. определение в файле form_callformoutput.php строка 267
ShowFormTitle | ( | $css_style = "" | ) |
Public: shows current form title
См. определение в файле form_callformoutput.php строка 1000
ShowInput | ( | $FIELD_SID, | |
$caption_css_class = '' ) |
Public method used to put input fields to template Use: <?=$FORM->ShowInput('MYFIELD_5')?>
string | $FIELD_SID | |
string | $caption_css_class |
См. определение в файле form_callformoutput.php строка 537
ShowInputCaption | ( | $FIELD_SID, | |
$css_style = "" ) |
Public method used to put input field title to template Use: <?=$FORM->ShowInputCaption('MYFIELD_5')?>
string | $FIELD_SID | |
string | $caption_css_class |
См. определение в файле form_callformoutput.php строка 416
ShowInputCaptionImage | ( | $FIELD_SID, | |
$sAlign = "", | |||
$iMaxW = "", | |||
$iMaxH = "", | |||
$bPopup = "N", | |||
$strPopupTitle = "", | |||
$sHSpace = "", | |||
$sVSpace = "", | |||
$sBorder = "" ) |
Public method used to put question image if exists onto form Use: <?=$FORM->ShowInputCaptionImage('MYFIELD_5', 50, 50, "hspace=\"0\" vspace=\"0\" align=\"left\" border=\"0\"", "", true, GetMessage("FORM_ENLARGE"))?> params like CFile::ShowImage() Returns image code if image exists and empty string otherwise
string | $FIELD_SID | |
int | $iMaxW | |
int | $iMaxH | |
string | $sParams | |
string | $strImageUrl | |
bool | $bPopup | |
string | $strPopupTitle |
См. определение в файле form_callformoutput.php строка 486
|
static |
Public method used to show "required" label (red '*') Use: <?=$FORM->ShowRequired()?>
См. определение в файле form_callformoutput.php строка 1071
ShowResetButton | ( | $caption = "", | |
$css_style = "" ) |
Public method used to put reset button onto form. Use: <?=$FORM->ShowResetButton()?>
См. определение в файле form_callformoutput.php строка 910
ShowResultStatus | ( | $bNotShowCSS = "N" | ) |
См. определение в файле form_callformoutput.php строка 1029
ShowResultStatusForm | ( | ) |
См. определение в файле form_callformoutput.php строка 1019
ShowResultStatusText | ( | ) |
См. определение в файле form_callformoutput.php строка 1042
ShowSubmitButton | ( | $caption = "", | |
$css_style = "" ) |
Public method used to put submit button onto form. Use: <?=$FORM->ShowSubmitButton()?>
См. определение в файле form_callformoutput.php строка 884
$__admin |
См. определение в файле form_callformoutput.php строка 12
$__cache_file_footer = "<?=\$FORM->ShowFormFooter();?>" |
См. определение в файле form_callformoutput.php строка 10
$__cache_file_header = "<?if(!defined(\"B_PROLOG_INCLUDED\") || B_PROLOG_INCLUDED!==true)die();?><?=\$FORM->ShowFormHeader();?>" |
См. определение в файле form_callformoutput.php строка 9
$__cache_file_name |
См. определение в файле form_callformoutput.php строка 40
$__cache_path = "" |
См. определение в файле form_callformoutput.php строка 8
$__error_msg = "" |
См. определение в файле form_callformoutput.php строка 38
$__form_image_cache = "" |
См. определение в файле form_callformoutput.php строка 42
$__form_image_path_cache = "" |
См. определение в файле form_callformoutput.php строка 43
$__form_input_caption_image_cache = array() |
См. определение в файле form_callformoutput.php строка 44
$__form_input_caption_image_path_cache = array() |
См. определение в файле form_callformoutput.php строка 45
$__form_validate_errors = "" |
См. определение в файле form_callformoutput.php строка 39
$arAnswers |
См. определение в файле form_callformoutput.php строка 20
$arDropDown |
См. определение в файле form_callformoutput.php строка 21
$arForm |
См. определение в файле form_callformoutput.php строка 18
$arMultiSelect |
См. определение в файле form_callformoutput.php строка 22
$arParams |
См. определение в файле form_callformoutput.php строка 17
$arQuestions |
См. определение в файле form_callformoutput.php строка 19
$arResult |
См. определение в файле form_callformoutput.php строка 29
$arrRESULT_PERMISSION = array() |
См. определение в файле form_callformoutput.php строка 24
$arrVALUES |
См. определение в файле form_callformoutput.php строка 26
$bIsFormValidateErrors = false |
См. определение в файле form_callformoutput.php строка 49
$bSimple |
См. определение в файле form_callformoutput.php строка 36
$CAPTCHACode |
См. определение в файле form_callformoutput.php строка 34
$comp2 = false |
См. определение в файле form_callformoutput.php строка 47
$F_RIGHT |
См. определение в файле form_callformoutput.php строка 33
$RESULT_ID |
См. определение в файле form_callformoutput.php строка 28
$strFormNote |
См. определение в файле form_callformoutput.php строка 31
$WEB_FORM_ID |
См. определение в файле form_callformoutput.php строка 14
$WEB_FORM_NAME |
См. определение в файле form_callformoutput.php строка 15