Galette API documentation
Gestionnaire d’Adhérents en Ligne Extrêmement Tarabiscoté mais Tellement Efficace
1.0.0
Galette\Repository\PaymentTypes Class Reference
Inheritance diagram for Galette\Repository\PaymentTypes:
Collaboration diagram for Galette\Repository\PaymentTypes:

Public Member Functions

 getList (bool $schedulable=true)
 
 installInit (bool $check_first=true)
 
- Public Member Functions inherited from Galette\Repository\Repository
 __construct (Db $zdb, Preferences $preferences, Login $login, ?string $entity=null, ?string $ns=null, string $prefix='')
 
 getList ()
 

Static Public Member Functions

static getAll (bool $schedulable=true)
 

Protected Member Functions

 checkUpdate ()
 
 loadDefaults ()
 
- Protected Member Functions inherited from Galette\Repository\Repository
 getFilters ()
 
 setFilters (Pagination $filters)
 
 canOrderBy (string $field_name, ?array $fields)
 

Additional Inherited Members

- Protected Attributes inherited from Galette\Repository\Repository
Db $zdb
 
Preferences $preferences
 
string $entity
 
Login $login
 
Pagination $filters
 
array $defaults = []
 
string $prefix
 

Detailed Description

Payment types

Author
Johan Cwiklinski johan.nosp@m.@x-t.nosp@m.nd.be

Member Function Documentation

◆ checkUpdate()

Galette\Repository\PaymentTypes::checkUpdate ( )
protected

Checks for missing payment types in the database

Returns
boolean

◆ getAll()

static Galette\Repository\PaymentTypes::getAll ( bool  $schedulable = true)
static

Get payments types

Parameters
boolean$schedulableTypes that can be used in schedules only
Returns
array<int, PaymentType>

◆ getList()

Galette\Repository\PaymentTypes::getList ( bool  $schedulable = true)

Get list

Parameters
boolean$schedulableTypes that can be used in schedules only
Returns
array<int, PaymentType>|ResultSet

◆ installInit()

Galette\Repository\PaymentTypes::installInit ( bool  $check_first = true)

Add default payment types in database

Parameters
boolean$check_firstCheck first if it seems initialized
Returns
boolean

Reimplemented from Galette\Repository\Repository.

◆ loadDefaults()

Galette\Repository\PaymentTypes::loadDefaults ( )
protected

Get defaults values

Returns
array<string, mixed>

Reimplemented from Galette\Repository\Repository.


The documentation for this class was generated from the following file: