Elgg  Version 7.1
Static Public Member Functions | List of all members
Elgg\Forms\RegisterFields Class Reference

Add fields to an entity form. More...

Static Public Member Functions

static addEntityGUID (\Elgg\Event $event)
 Add a hidden input to the fields when an entity is provided. More...
 
static addEntityToAccessInput (\Elgg\Event $event)
 Add the entity to input/access fields. More...
 
static addContainerInput (\Elgg\Event $event)
 Add a container input to the form fields. More...
 

Detailed Description

Add fields to an entity form.

Since
7.1

Definition at line 10 of file RegisterFields.php.

Member Function Documentation

◆ addContainerInput()

static Elgg\Forms\RegisterFields::addContainerInput ( \Elgg\Event  $event)
static

Add a container input to the form fields.

Parameters
\Elgg\Event$event'forms:register:fields', '<type>:<subtype>'
Returns
array|null

Definition at line 68 of file RegisterFields.php.

◆ addEntityGUID()

static Elgg\Forms\RegisterFields::addEntityGUID ( \Elgg\Event  $event)
static

Add a hidden input to the fields when an entity is provided.

Parameters
\Elgg\Event$event'form:register:fields', 'all'
Returns
array|null

Definition at line 19 of file RegisterFields.php.

◆ addEntityToAccessInput()

static Elgg\Forms\RegisterFields::addEntityToAccessInput ( \Elgg\Event  $event)
static

Add the entity to input/access fields.

Parameters
\Elgg\Event$event'form:register:fields', 'all'
Returns
array|null

Definition at line 43 of file RegisterFields.php.


The documentation for this class was generated from the following file: