Bitrix API

Text extends Field

Table of Contents

Methods

__construct()  : mixed
Class constructor.
isEmptyValue()  : bool
Gets true, if current value is empty.
setValue()  : void
Set value to the field.
viewForm()  : void
Vew field.

Methods

__construct()

Class constructor.

public __construct(string $code[, array<string|int, mixed> $params = array() ]) : mixed
Parameters
$code : string

Field code.

$params : array<string|int, mixed> = array()

Field params.

isEmptyValue()

Gets true, if current value is empty.

public isEmptyValue() : bool
Return values
bool

setValue()

Set value to the field.

public setValue(string $value) : void
Parameters
$value : string

Value.

viewForm()

Vew field.

public viewForm([array<string|int, mixed> $params = array() ]) : void
Parameters
$params : array<string|int, mixed> = array()

Array params: name - field name class - css-class for this element additional - some additional params as is.


        
On this page

Search results