Meta
in package
Meta class for both fields and field groups.
Table of Contents
- $contextId : string
- The context ID.
- $key : string
- The field key.
- $postId : int
- The post ID.
- $userId : int
- The post ID.
- get() : mixed
- Get the object.
- setContextId() : static
- Set the context ID.
- setKey() : static
- Set the field key.
- setPostId() : static
- Set the post ID.
- setUserId() : static
- Set the user ID.
Properties
$contextId
The context ID.
public
static string
$contextId
$key
The field key.
public
static string
$key
$postId
The post ID.
public
static int
$postId
$userId
The post ID.
public
static int
$userId
Methods
get()
Get the object.
public
abstract static get([string $key = null ]) : mixed
Parameters
- $key : string = null
-
Key to any value stored in the object.
Return values
mixed —setContextId()
Set the context ID.
public
static setContextId(string $contextId) : static
Parameters
- $contextId : string
-
The context ID.
Return values
static —setKey()
Set the field key.
public
static setKey(string $key) : static
Parameters
- $key : string
-
The field key.
Return values
static —setPostId()
Set the post ID.
public
static setPostId(int $postId) : static
Parameters
- $postId : int
-
The post ID.
Return values
static —setUserId()
Set the user ID.
public
static setUserId(int $userId) : static
Parameters
- $userId : int
-
The user ID.