FieldDefinition
Table of Contents
Properties
-
$maxLength
: int|null
-
$name
: string
-
$noindex
: bool
-
$sortable
: bool
-
$type
: string
-
$weight
: float
Methods
-
__construct()
: mixed
-
getSchema()
: array<string|int, mixed>
-
set()
: mixed
-
setMaxLength()
: self
-
setNoindex()
: self
-
setSortable()
: self
-
setWeight()
: self
$maxLength
private
int|null
$maxLength
= null
$name
read-only
private
string
$name
$noindex
private
bool
$noindex
= false
$sortable
private
bool
$sortable
= false
$type
private
string
$type
$weight
private
float
$weight
= 1.0
__construct()
public
__construct(string $name, string $type) : mixed
Parameters
-
$name
: string
-
-
$type
: string
-
getSchema()
public
getSchema() : array<string|int, mixed>
Return values
array<string|int, mixed>
set()
public
set() : mixed
setMaxLength()
public
setMaxLength(int $length) : self
Parameters
-
$length
: int
-
setNoindex()
public
setNoindex(bool $noindex) : self
Parameters
-
$noindex
: bool
-
setSortable()
public
setSortable(bool $sortable) : self
Parameters
-
$sortable
: bool
-
setWeight()
public
setWeight(float $weight) : self
Parameters
-
$weight
: float
-