CoolCMS API

PaymentGatePhoneRegionRel extends PaymentGatePhoneRegionRel
in package

Attributes
#[Entity]
#[Table]
$name: 'cms_system_payment_gate_phone_region_relations'
#[TableAlias]
'paymentGatePhoneRegionRel'

Table of Contents

Properties

$paymentGatePhoneId  : int
$paymentRegionId  : int

Methods

__construct()  : mixed
callInitMethods()  : void
Calls `init{TraitName}()` for every used trait that defines such a method.
getAllTraits()  : array<string, string>
Returns all traits the class uses, including those used by parent classes and nested traits.
getPaymentGatePhoneId()  : int
getPaymentRegionId()  : int
setPaymentGatePhoneId()  : $this
setPaymentRegionId()  : $this
getTraitsRecursive()  : array<string, string>
Walks the trait list recursively and collects nested traits too.

Properties

$paymentGatePhoneId

protected int $paymentGatePhoneId = 0
Attributes
#[Column]
$name: 'cms_system_payment_gate_phones_payment_gate_phone_id'
$type: 'integer'
$options: ['unsigned' => true]
#[Id]
#[Identity]

$paymentRegionId

protected int $paymentRegionId = 0
Attributes
#[Column]
$name: 'cms_system_payment_regions_payment_region_id'
$type: 'integer'
$options: ['unsigned' => true]
#[Id]
#[Identity]

Methods

__construct()

public __construct([int $paymentGatePhoneId = 0 ][, int $paymentRegionId = 0 ]) : mixed
Parameters
$paymentGatePhoneId : int = 0
$paymentRegionId : int = 0

callInitMethods()

Calls `init{TraitName}()` for every used trait that defines such a method.

public callInitMethods() : void

getAllTraits()

Returns all traits the class uses, including those used by parent classes and nested traits.

public getAllTraits() : array<string, string>
Return values
array<string, string>

setPaymentGatePhoneId()

public setPaymentGatePhoneId(int $paymentGatePhoneId) : $this
Parameters
$paymentGatePhoneId : int
Return values
$this

setPaymentRegionId()

public setPaymentRegionId(int $paymentRegionId) : $this
Parameters
$paymentRegionId : int
Return values
$this

getTraitsRecursive()

Walks the trait list recursively and collects nested traits too.

private static getTraitsRecursive(array<string, string> $traits) : array<string, string>
Parameters
$traits : array<string, string>
Return values
array<string, string>
On this page

Search results