KMP PHP API Reference

GatheringTypeGatheringActivitiesTable extends Table
in package

GatheringTypeGatheringActivities Model

Join table for many-to-many relationship between GatheringTypes and GatheringActivities. This defines template activities that will be automatically added to gatherings of a specific type.

Table of Contents

Properties

$GatheringActivities  : GatheringActivitiesTable|BelongsTo
$GatheringTypes  : GatheringTypesTable|BelongsTo

Methods

buildRules()  : RulesChecker
Returns a rules checker object that will be used for validating application integrity.
findOrCreate()  : GatheringTypeGatheringActivity
get()  : GatheringTypeGatheringActivity
initialize()  : void
Initialize method
newEmptyEntity()  : GatheringTypeGatheringActivity
newEntities()  : array<string|int, GatheringTypeGatheringActivity>
newEntity()  : GatheringTypeGatheringActivity
patchEntities()  : array<string|int, GatheringTypeGatheringActivity>
patchEntity()  : GatheringTypeGatheringActivity
save()  : GatheringTypeGatheringActivity|false
saveOrFail()  : GatheringTypeGatheringActivity
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) : GatheringTypeGatheringActivity
Parameters
$primaryKey : mixed
$finder : array<string|int, mixed>|string = = '\'all\''
$cache : CacheInterface|string|null = = 'null'
$cacheKey : Closure|string|null = = 'null'
$args : mixed
Return values
GatheringTypeGatheringActivity

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