Documentation

UserVatDetect extends CacheModel
in package

Table of Contents

Constants

EVENT_TYPES  = [self::STORAGE_DETECTED, self::MULTIPLE_STORAGES, self::THRESHOLD_LIMIT_EXCEED, self::USER_DELETED]
MULTIPLE_STORAGES  = 'multiple_storages'
STORAGE_DETECTED  = 'storage_detected'
THRESHOLD_LIMIT_EXCEED  = 'threshold_limit_exceed'
USER_DELETED  = 'user_deleted'

Properties

$country_id  : int
$create_time  : mixed
$end_date  : DateTime
$event  : string
$id  : int
$start_date  : DateTime
$tax_id  : string
$update_time  : mixed
$user_id  : int
$vatid  : string

Methods

afterFetch()  : mixed
afterSave()  : mixed
assignJobMergedData()  : mixed
beforeFetch()  : mixed
beforeSave()  : mixed
exists()  : bool
fetchAsArray()  : mixed
fetchAsAssocArray()  : mixed
fetchAsMultiAssocArray()  : mixed
find()  : false|array<string|int, static>
findFirst()  : static|false
fixParameters()  : mixed
fromArray()  : mixed
fromUserVatModel()  : void
getCountryId()  : int
getCreateTime()  : mixed
getEndDate()  : DateTime|null
getEvent()  : string
getId()  : int
getStartDate()  : DateTime|null
getTaxId()  : string|null
getThe()  : mixed
getUpdateTime()  : mixed
getUserId()  : int
getVatid()  : string|null
initialize()  : mixed
mapper()  : mixed
set()  : mixed
setCountryId()  : void
setCreateTime()  : $this
If $createTime is null, default value now.
setEndDate()  : mixed
setEvent()  : void
setId()  : mixed
setStartDate()  : void
setTaxId()  : mixed
setUpdateTime()  : $this
If $updateTime is null, default value now.
setUserId()  : void
setVatid()  : mixed
writeAttributeIfNeeded()  : mixed
_createKey()  : mixed
endDateConvertFromString()  : mixed
endDateConvertToString()  : mixed
startDateConvertFromString()  : mixed
startDateConvertToString()  : mixed

Constants

EVENT_TYPES

public mixed EVENT_TYPES = [self::STORAGE_DETECTED, self::MULTIPLE_STORAGES, self::THRESHOLD_LIMIT_EXCEED, self::USER_DELETED]

MULTIPLE_STORAGES

public mixed MULTIPLE_STORAGES = 'multiple_storages'

STORAGE_DETECTED

public mixed STORAGE_DETECTED = 'storage_detected'

THRESHOLD_LIMIT_EXCEED

public mixed THRESHOLD_LIMIT_EXCEED = 'threshold_limit_exceed'

Properties

Methods

assignJobMergedData()

public assignJobMergedData() : mixed

exists()

public exists() : bool
Return values
bool

fetchAsArray()

public static fetchAsArray([mixed $parameter = null ]) : mixed
Parameters
$parameter : mixed = null

fetchAsAssocArray()

public static fetchAsAssocArray([mixed $parameter = null ][, mixed $key = 'id' ][, mixed $cols = null ]) : mixed
Parameters
$parameter : mixed = null
$key : mixed = 'id'
$cols : mixed = null

fetchAsMultiAssocArray()

public static fetchAsMultiAssocArray([mixed $parameter = null ][, mixed $keyname = ['id'] ][, mixed $cols = null ]) : mixed
Parameters
$parameter : mixed = null
$keyname : mixed = ['id']
$cols : mixed = null

find()

public static find([array<string|int, mixed>|null|int $parameters = null ]) : false|array<string|int, static>
Parameters
$parameters : array<string|int, mixed>|null|int = null
Return values
false|array<string|int, static>

findFirst()

public static findFirst([array<string|int, mixed>|null|int $parameters = null ]) : static|false
Parameters
$parameters : array<string|int, mixed>|null|int = null
Return values
static|false

fixParameters()

public static fixParameters([mixed $parameters = null ]) : mixed
Parameters
$parameters : mixed = null

fromArray()

public static fromArray(mixed $array) : mixed
Parameters
$array : mixed

fromUserVatModel()

public fromUserVatModel(UserVat $userVat[, mixed $isDelete = false ]) : void
Parameters
$userVat : UserVat
$isDelete : mixed = false

getCountryId()

public getCountryId() : int
Return values
int

getEndDate()

public getEndDate() : DateTime|null
Return values
DateTime|null

getStartDate()

public getStartDate() : DateTime|null
Return values
DateTime|null

getTaxId()

public getTaxId() : string|null
Return values
string|null

getThe()

public static getThe(mixed $paramater) : mixed
Parameters
$paramater : mixed

getVatid()

public getVatid() : string|null
Return values
string|null

mapper()

public static mapper(array<string|int, mixed> $map, array<string|int, mixed> $original[, bool $reverse = true ]) : mixed
Parameters
$map : array<string|int, mixed>
$original : array<string|int, mixed>
$reverse : bool = true

set()

public set(mixed $property, mixed $value) : mixed
Parameters
$property : mixed
$value : mixed

setCountryId()

public setCountryId(int $countryId) : void
Parameters
$countryId : int

setCreateTime()

If $createTime is null, default value now.

public setCreateTime([mixed $createTime = null ]) : $this
Parameters
$createTime : mixed = null
Return values
$this

setEndDate()

public setEndDate(DateTime $endDate) : mixed
Parameters
$endDate : DateTime

setEvent()

public setEvent(string $event) : void
Parameters
$event : string

setStartDate()

public setStartDate(DateTime $startDate) : void
Parameters
$startDate : DateTime

setTaxId()

public setTaxId(string $taxId) : mixed
Parameters
$taxId : string

setUpdateTime()

If $updateTime is null, default value now.

public setUpdateTime([mixed $updateTime = null ]) : $this
Parameters
$updateTime : mixed = null
Return values
$this

setUserId()

public setUserId(int $userId) : void
Parameters
$userId : int

setVatid()

public setVatid(string $vatid) : mixed
Parameters
$vatid : string

writeAttributeIfNeeded()

public writeAttributeIfNeeded(mixed $attribute, mixed $value) : mixed
Parameters
$attribute : mixed
$value : mixed

_createKey()

protected static _createKey(mixed $parameters) : mixed
Parameters
$parameters : mixed

endDateConvertFromString()

private endDateConvertFromString() : mixed

endDateConvertToString()

private endDateConvertToString() : mixed

startDateConvertFromString()

private startDateConvertFromString() : mixed

startDateConvertToString()

private startDateConvertToString() : mixed

        
On this page

Search results