• Модуль: landing
  • Путь к файлу: ~/bitrix/modules/landing/lib/field/text.php
  • Класс: BitrixLandingFieldText
  • Вызов: Text::setValue
public function setValue($value)
{
	if ($this->maxlength > 0)
	{
		$this->value = mb_substr($value, 0, $this->maxlength);
	}
	else
	{
		$this->value = $value;
	}
}