KMP PHP API Reference

GatheringsGatheringActivitiesTable extends Table
in package

GatheringsGatheringActivities Model

Join table for many-to-many relationship between Gatherings and GatheringActivities.

Table of Contents

Properties

$GatheringActivities  : GatheringActivitiesTable|BelongsTo
$Gatherings  : GatheringsTable|BelongsTo

Methods

buildRules()  : RulesChecker
Returns a rules checker object that will be used for validating application integrity.
findOrCreate()  : GatheringsGatheringActivity
get()  : GatheringsGatheringActivity
initialize()  : void
Initialize method
newEmptyEntity()  : GatheringsGatheringActivity
newEntities()  : array<string|int, GatheringsGatheringActivity>
newEntity()  : GatheringsGatheringActivity
patchEntities()  : array<string|int, GatheringsGatheringActivity>
patchEntity()  : GatheringsGatheringActivity
save()  : GatheringsGatheringActivity|false
saveOrFail()  : GatheringsGatheringActivity
validationDefault()  : Validator
Default validation rules.

Properties

Methods

buildRules()

Returns a rules checker object that will be used for validating application integrity.

public buildRules(RulesChecker $rules) : RulesChecker
Parameters
$rules : RulesChecker

The rules object to be modified.

Return values
RulesChecker

get()

public get(mixed $primaryKey[, array<string|int, mixed>|string $finder = = '\'all\'' ][, CacheInterface|string|null $cache = = 'null' ][, Closure|string|null $cacheKey = = 'null' ], mixed ...$args) : GatheringsGatheringActivity
Parameters
$primaryKey : mixed
$finder : array<string|int, mixed>|string = = '\'all\''
$cache : CacheInterface|string|null = = 'null'
$cacheKey : Closure|string|null = = 'null'
$args : mixed
Return values
GatheringsGatheringActivity

initialize()

Initialize method

public initialize(array<string, mixed> $config) : void
Parameters
$config : array<string, mixed>

The configuration for the Table.

validationDefault()

Default validation rules.

public validationDefault(Validator $validator) : Validator
Parameters
$validator : Validator

Validator instance.

Return values
Validator

        
On this page

Search results