AuthorField
extends AbstractDcaField
in package
Table of Contents
Constants
- TYPE_MEMBER = 'member'
- TYPE_USER = 'user'
Properties
- $tables : mixed
Methods
- getRegistrations() : array<string|int, AuthorFieldConfiguration>
- register() : DcaFieldConfiguration
- Register a dca to have an author field and update logic added.
- createOptionObject() : AuthorFieldConfiguration
- loadConfig() : array<string|int, mixed>
- storeConfig() : void
Constants
TYPE_MEMBER
public
mixed
TYPE_MEMBER
= 'member'
TYPE_USER
public
mixed
TYPE_USER
= 'user'
Properties
$tables
protected
static mixed
$tables
= []
Methods
getRegistrations()
public
static getRegistrations() : array<string|int, AuthorFieldConfiguration>
Return values
array<string|int, AuthorFieldConfiguration>register()
Register a dca to have an author field and update logic added.
public
static register(string $table) : DcaFieldConfiguration
Parameters
- $table : string
Return values
DcaFieldConfigurationcreateOptionObject()
protected
static createOptionObject(string $table) : AuthorFieldConfiguration
Parameters
- $table : string
Return values
AuthorFieldConfigurationloadConfig()
protected
static loadConfig() : array<string|int, mixed>
Return values
array<string|int, mixed>storeConfig()
protected
static storeConfig(DcaFieldConfiguration $config) : void
Parameters
- $config : DcaFieldConfiguration