VLAM Documentation

TrainingAssignmentEntryProperties extends AssignmentEntryProperties
in package

Table of Contents

Properties

$allowedFields  : mixed
$primaryKey  : mixed
$table  : mixed

Methods

valid_property()  : bool
Validate whether the given property ID(s) exist for the specified entry.

Properties

Methods

valid_property()

Validate whether the given property ID(s) exist for the specified entry.

public valid_property(array<string|int, mixed> $entry, int|array<string|int, mixed>|null $property_id) : bool
Parameters
$entry : array<string|int, mixed>

The entire entry data array

$property_id : int|array<string|int, mixed>|null

The property ID or an array of IDs to validate.

Return values
bool

Returns true if all provided property IDs are valid, otherwise false.


        
On this page

Search results