Arikaim CMS

OptionType

Option type table trait

Table of Contents

Methods

bootOptionType()  : void
Boot trait
DATE()  : int
Date time option type
getByKey()  : mixed
Get option type
getItemsAttribute()  : array<string|int, mixed>
Mutator (get) for items attribute.
getOptionTypeId()  : int|null
Get option type id
getTypeText()  : string|false
Get option type name
NUMBER()  : int
Number type option
PRICE()  : int
Price type option
setItemsAttribute()  : void
Mutator (set) for items attribute.
TEXT()  : int
Text type option
TEXTAREA()  : int
Text area type option
TIME_INTERVAL()  : int
Time interval option type

Methods

bootOptionType()

Boot trait

public static bootOptionType() : void

DATE()

Date time option type

public DATE() : int
Return values
int

getByKey()

Get option type

public getByKey(string $key) : mixed
Parameters
$key : string

getItemsAttribute()

Mutator (get) for items attribute.

public getItemsAttribute() : array<string|int, mixed>
Return values
array<string|int, mixed>

getOptionTypeId()

Get option type id

public static getOptionTypeId(string $type) : int|null
Parameters
$type : string
Return values
int|null

getTypeText()

Get option type name

public getTypeText([int|null $type = null ]) : string|false
Parameters
$type : int|null = null
Return values
string|false

NUMBER()

Number type option

public NUMBER() : int
Return values
int

PRICE()

Price type option

public PRICE() : int
Return values
int

setItemsAttribute()

Mutator (set) for items attribute.

public setItemsAttribute(array<string|int, mixed> $value) : void
Parameters
$value : array<string|int, mixed>

TEXT()

Text type option

public TEXT() : int
Return values
int

TEXTAREA()

Text area type option

public TEXTAREA() : int
Return values
int

TIME_INTERVAL()

Time interval option type

public TIME_INTERVAL() : int
Return values
int

        
On this page

Search results