Skip to main content

GF_Query_JSON_Literal

The Gravity Forms Query JSON Literal class.

Source: includes/query/class-gf-query-json-literal.php:6

Details

Methods

MethodDescription
__construct()A literal value.
sql()Get SQL for this.
__get()Proxy read-only values.

Method Reference

__construct()

public function __construct( $value )

A literal value.

Parameters

NameTypeDefaultDescription
$valuestring

Source: includes/query/class-gf-query-json-literal.php:17

sql()

public function sql( $query, $delimiter='' )

Get SQL for this.

Parameters

NameTypeDefaultDescription
$queryGF_QueryThe query.
$delimiterstring''The delimiter for arrays.

Returns

  • string — The SQL.

Source: includes/query/class-gf-query-json-literal.php:31

__get()

public function __get( $key )

Proxy read-only values.

Parameters

NameTypeDefaultDescription
$key

Source: includes/query/class-gf-query-json-literal.php:47