Documentation

Assignee extends AbstractType
in package
implements TypeInterface

Table of Contents

Interfaces

TypeInterface

Properties

$definition  : stdclass
$value  : string|null

Methods

__construct()  : mixed
id()  : string
script()  : string
use gqlname to select the kind of script you need.
value()  : mixed
deleted()  : bool
editable()  : bool
label()  : string
options()  : array<string|int, mixed>
required()  : bool
type()  : string
validate()  : mixed

Properties

Methods

__construct()

public __construct(stdclass $definition) : mixed
Parameters
$definition : stdclass

script()

use gqlname to select the kind of script you need.

public script([mixed $gqlname = null ]) : string

because sometimes a Data Type has a different representation in different gqls

Parameters
$gqlname : mixed = null
Return values
string

value()

public value([mixed $value = null ]) : mixed
Parameters
$value : mixed = null

editable()

protected editable() : bool
Return values
bool

options()

protected options() : array<string|int, mixed>
Return values
array<string|int, mixed>

required()

protected required() : bool
Return values
bool

validate()

private validate(mixed $value) : mixed
Parameters
$value : mixed

        
On this page

Search results