SetSiteOptions
extends Step
in package
Set site options step.
Table of Contents
- $meta_values : array<string|int, mixed>
- Meta values for the step.
- $options : array<string|int, mixed>
- Site options.
- __construct() : mixed
- Constructor.
- get_json_array() : mixed
- Get the JSON array for the step.
- get_schema() : array<string|int, mixed>
- Get the schema for the step.
- get_step_name() : string
- Get the name of the step.
- prepare_json_array() : array<string|int, mixed>
- Prepare the step for JSON serialization.
- set_meta_values() : void
- Set meta values for the step.
Properties
$meta_values
Meta values for the step.
protected
array<string|int, mixed>
$meta_values
= array()
$options
Site options.
private
array<string|int, mixed>
$options
Methods
__construct()
Constructor.
public
__construct([array<string|int, mixed> $options = array() ]) : mixed
Parameters
- $options : array<string|int, mixed> = array()
-
site options.
Return values
mixed —get_json_array()
Get the JSON array for the step.
public
get_json_array() : mixed
Return values
mixed —get_schema()
Get the schema for the step.
public
static get_schema([int $version = 1 ]) : array<string|int, mixed>
Parameters
- $version : int = 1
-
schema version.
Return values
array<string|int, mixed> — schema for the stepget_step_name()
Get the name of the step.
public
static get_step_name() : string
Return values
string — step nameprepare_json_array()
Prepare the step for JSON serialization.
public
prepare_json_array() : array<string|int, mixed>
Return values
array<string|int, mixed> — array representation of the stepset_meta_values()
Set meta values for the step.
public
set_meta_values(array<string|int, mixed> $meta_values) : void
Parameters
- $meta_values : array<string|int, mixed>
-
The meta values.