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
$GatheringActivities
public
GatheringActivitiesTable|BelongsTo
$GatheringActivities
$Gatherings
public
GatheringsTable|BelongsTo
$Gatherings
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
RulesCheckerfindOrCreate()
public
findOrCreate(mixed $search[, callable|null $callback = = 'null' ][, array<string|int, mixed> $options = = '[]' ]) : GatheringsGatheringActivity
Parameters
- $search : mixed
- $callback : callable|null = = 'null'
- $options : array<string|int, mixed> = = '[]'
Return values
GatheringsGatheringActivityget()
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
GatheringsGatheringActivityinitialize()
Initialize method
public
initialize(array<string, mixed> $config) : void
Parameters
- $config : array<string, mixed>
-
The configuration for the Table.
newEmptyEntity()
public
newEmptyEntity() : GatheringsGatheringActivity
Return values
GatheringsGatheringActivitynewEntities()
public
newEntities(array<string|int, mixed> $data[, array<string|int, mixed> $options = = '[]' ]) : array<string|int, GatheringsGatheringActivity>
Parameters
- $data : array<string|int, mixed>
- $options : array<string|int, mixed> = = '[]'
Return values
array<string|int, GatheringsGatheringActivity>newEntity()
public
newEntity(array<string|int, mixed> $data[, array<string|int, mixed> $options = = '[]' ]) : GatheringsGatheringActivity
Parameters
- $data : array<string|int, mixed>
- $options : array<string|int, mixed> = = '[]'
Return values
GatheringsGatheringActivitypatchEntities()
public
patchEntities(iterable<string|int, mixed> $entities, array<string|int, mixed> $data[, array<string|int, mixed> $options = = '[]' ]) : array<string|int, GatheringsGatheringActivity>
Parameters
- $entities : iterable<string|int, mixed>
- $data : array<string|int, mixed>
- $options : array<string|int, mixed> = = '[]'
Return values
array<string|int, GatheringsGatheringActivity>patchEntity()
public
patchEntity(EntityInterface $entity, array<string|int, mixed> $data[, array<string|int, mixed> $options = = '[]' ]) : GatheringsGatheringActivity
Parameters
- $entity : EntityInterface
- $data : array<string|int, mixed>
- $options : array<string|int, mixed> = = '[]'
Return values
GatheringsGatheringActivitysave()
public
save(EntityInterface $entity[, array<string|int, mixed> $options = = '[]' ]) : GatheringsGatheringActivity|false
Parameters
- $entity : EntityInterface
- $options : array<string|int, mixed> = = '[]'
Return values
GatheringsGatheringActivity|falsesaveOrFail()
public
saveOrFail(EntityInterface $entity[, array<string|int, mixed> $options = = '[]' ]) : GatheringsGatheringActivity
Parameters
- $entity : EntityInterface
- $options : array<string|int, mixed> = = '[]'
Return values
GatheringsGatheringActivityvalidationDefault()
Default validation rules.
public
validationDefault(Validator $validator) : Validator
Parameters
- $validator : Validator
-
Validator instance.