onOffice WP Plugin

FieldsCollection
in package
implements FieldModuleCollection

Interfaces, Classes, Traits and Enums

FieldModuleCollection

Table of Contents

$_fields  : array<string|int, mixed>
$_fieldsByModule  : array<string|int, mixed>
addField()  : mixed
containsFieldByModule()  : bool
getAllFields()  : array<string|int, Field>
getAllFieldsKeyedUnsafe()  : array<string|int, mixed>
getFieldByKeyUnsafe()  : Field
getFieldByModuleAndName()  : Field
getFieldsByModule()  : array<string|int, mixed>
merge()  : mixed
removeFieldByModuleAndName()  : Field

Properties

Methods

containsFieldByModule()

public containsFieldByModule(string $module, string $name) : bool
Parameters
$module : string
$name : string
Return values
bool

getAllFieldsKeyedUnsafe()

public getAllFieldsKeyedUnsafe() : array<string|int, mixed>
Return values
array<string|int, mixed>

getFieldsByModule()

public getFieldsByModule(string $module) : array<string|int, mixed>
Parameters
$module : string
Return values
array<string|int, mixed>

Search results