Documentation

AfformAdminMeta
in package

Table of Contents

Methods

getAdminSettings()  : array<string|int, mixed>
getApiEntity()  : array<string|int, mixed>|null
Get info about an api entity
getFields()  : array<string|int, mixed>
getMetadata()  : array<string|int, mixed>
Loads metadata for the gui editor.
entityToAfformMeta()  : array<string|int, mixed>
Converts info from API.Entity.get to an array of afform entity metadata

Methods

getAdminSettings()

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

getApiEntity()

Get info about an api entity

public static getApiEntity(string $entityName) : array<string|int, mixed>|null
Parameters
$entityName : string
Return values
array<string|int, mixed>|null

getFields()

public static getFields(mixed $entityName[, array<string|int, mixed> $params = [] ]) : array<string|int, mixed>
Parameters
$entityName : mixed
$params : array<string|int, mixed> = []
Return values
array<string|int, mixed>

getMetadata()

Loads metadata for the gui editor.

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

entityToAfformMeta()

Converts info from API.Entity.get to an array of afform entity metadata

private static entityToAfformMeta(array<string|int, mixed> $info) : array<string|int, mixed>
Parameters
$info : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results