Bitrix API

Builder

Class Builder

Table of Contents

Methods

__construct()  : mixed
Filter constructor.
applyFilter()  : bool
Apply filter.
getContent()  : Content
Get content.
hasField()  : bool
Return true if entity has field.
isEnabled()  : bool
Return true if ca save.
isFullTextIndexEnabled()  : bool
Is full text index enabled.
save()  : bool
Save.

Methods

__construct()

Filter constructor.

public __construct(Base $entity, string|null $fieldName) : mixed
Parameters
$entity : Base

Entity.

$fieldName : string|null

Field name.

applyFilter()

Apply filter.

public applyFilter(array<string|int, mixed> &$filter, string|null $searchString) : bool
Parameters
$filter : array<string|int, mixed>

Filter.

$searchString : string|null

Search string.

Return values
bool

hasField()

Return true if entity has field.

public hasField() : bool
Return values
bool

isEnabled()

Return true if ca save.

public isEnabled() : bool
Return values
bool

isFullTextIndexEnabled()

Is full text index enabled.

public isFullTextIndexEnabled() : bool
Return values
bool

save()

Save.

public save(int $entityId) : bool
Parameters
$entityId : int

Entity ID.

Return values
bool

        
On this page

Search results