1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
textarea.php
См. документацию.
1<?php
2namespace Bitrix\Landing\Field;
3
5{
14 public function viewForm(array $params = array())
15 {
16 ?>
17 <textarea <?
18 ?><?= isset($params['additional']) ? $params['additional'] . ' ' : ''?><?
19 ?><?= isset($params['id']) ? 'id="' . \htmlspecialcharsbx($params['id']) . '" ' : ''?><?
20 ?><?= $this->maxlength > 0 ? 'maxlength="'. $this->maxlength . '" ' : ''?><?
21 ?><?= $this->placeholder != '' ? 'placeholder="'. $this->placeholder . '" ' : ''?><?
22 ?><?= isset($params['rows']) ? 'rows="'. $params['rows'] . '" ' : ''?><?
23 ?><?= isset($params['autocomplete']) ? 'autocomplete="'. $params['autocomplete'] . '" ' : ''?><?
24 ?>class="<?= isset($params['class']) ? \htmlspecialcharsbx($params['class']) : ''?>" <?
25 ?>data-code="<?= \htmlspecialcharsbx($this->code)?>" <?
26 ?>name="<?= \htmlspecialcharsbx(isset($params['name_format'])
27 ? str_replace('#field_code#', $this->code, $params['name_format'])
28 : $this->code)?>" <?
29 ?><?= (isset($params['disabled']) && $params['disabled']) ? ' disabled ' : ''?><?
30 ?> ><?= \htmlspecialcharsbx($this->value ? $this->value : $this->default)?></textarea>
31 <?
32 }
33
38 public function isEmptyValue()
39 {
40 return $this->value === '';
41 }
42}
viewForm(array $params=array())
Определения textarea.php:14
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
htmlspecialcharsbx($string, $flags=ENT_COMPAT, $doubleEncode=true)
Определения tools.php:2701
if($inWords) echo htmlspecialcharsbx(Number2Word_Rus(roundEx($totalVatSum $params['CURRENCY']
Определения template.php:799