Oihana PHP System

JsonOptionsTrait

Table of Contents

Constants

JSON_OPTIONS  = 'jsonOptions'
The 'jsonOptions' parameter constant.

Properties

$jsonOptions  : int
The json encode options value.

Methods

initializeJsonOptions()  : static
Initialize the documents reference.

Constants

JSON_OPTIONS

The 'jsonOptions' parameter constant.

public mixed JSON_OPTIONS = 'jsonOptions'

Properties

$jsonOptions

The json encode options value.

public int $jsonOptions = JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT

Methods

initializeJsonOptions()

Initialize the documents reference.

protected initializeJsonOptions([array<string|int, mixed> $init = [] ]) : static
Parameters
$init : array<string|int, mixed> = []
Return values
static

        
On this page

Search results