Table of Contents
-
TYPE__BRAND
= 'brand'
-
TYPE__CATEGORY
= 'category'
-
TYPE__PAGE
= 'page'
-
TYPE__POST
= 'post'
-
TYPE__PRODUCT
= 'product'
-
TYPE__URL
= 'url'
-
$entity_id
: int|null
-
$type
: string
-
$url
: string|null
-
__construct()
: mixed
-
buildRedirectTo()
: RedirectTo
-
jsonSerialize()
: array<string|int, mixed>
TYPE__BRAND
public
mixed
TYPE__BRAND
= 'brand'
TYPE__CATEGORY
public
mixed
TYPE__CATEGORY
= 'category'
TYPE__PAGE
public
mixed
TYPE__PAGE
= 'page'
TYPE__POST
public
mixed
TYPE__POST
= 'post'
TYPE__PRODUCT
public
mixed
TYPE__PRODUCT
= 'product'
TYPE__URL
public
mixed
TYPE__URL
= 'url'
$entity_id
public
int|null
$entity_id
$type
public
string
$type
$url
public
string|null
$url
__construct()
public
__construct([stdClass|null $optionObject = null ]) : mixed
Parameters
-
$optionObject
: stdClass|null
= null
-
Return values
mixed
—
buildRedirectTo()
public
static buildRedirectTo(string $type[, int|null $entityId = null ][, string|null $url = null ]) : RedirectTo
Parameters
-
$type
: string
-
-
$entityId
: int|null
= null
-
-
$url
: string|null
= null
-
Return values
RedirectTo
—
jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>
—