Bitrix API

NodeEntityField extends NodeBase

Class NodeEntityField Represents an entity field in the formula.

For example: this.name

Table of Contents

Methods

__construct()  : mixed
Initializes the object.
process()  : string
Calls "resolve" method of the $entity.

Methods

__construct()

Initializes the object.

public __construct([string $entityField = "" ]) : mixed

$entityName and $entityField is case insensitive.

Parameters
$entityField : string = ""

Field of the Entity.

process()

Calls "resolve" method of the $entity.

public process(Base $entity) : string

On success returns field value of the resolved. Otherwise returns empty string.

Parameters
$entity : Base

Sets the context of processing.

Return values
string

        
On this page

Search results