PHP Class Traq\Database\Seeder

Since: 4.0
Afficher le fichier Open project: nirix/traq Class Usage Examples

Méthodes publiques

Méthode Description
insertGroups ( ) Insert user groups.
insertPermissions ( ) Insert permissions.
insertPriorities ( ) Insert priorities.
insertProjectRoles ( ) Insert project roles.
insertSettings ( ) Insert settings.
insertSeverities ( ) Insert severities.
insertStatuses ( ) Insert statuses.
insertTypes ( ) Insert types.
seed ( ) Seeds the database.

Méthodes protégées

Méthode Description
createAnonymousUser ( ) : integer Creates the anonymous user and returns the ID.

Method Details

createAnonymousUser() protected méthode

Creates the anonymous user and returns the ID.
protected createAnonymousUser ( ) : integer
Résultat integer

insertGroups() public méthode

Insert user groups.
public insertGroups ( )

insertPermissions() public méthode

Insert permissions.
public insertPermissions ( )

insertPriorities() public méthode

Insert priorities.
public insertPriorities ( )

insertProjectRoles() public méthode

Insert project roles.
public insertProjectRoles ( )

insertSettings() public méthode

Insert settings.
public insertSettings ( )

insertSeverities() public méthode

Insert severities.
public insertSeverities ( )

insertStatuses() public méthode

Insert statuses.
public insertStatuses ( )

insertTypes() public méthode

Insert types.
public insertTypes ( )

seed() public méthode

Seeds the database.
public seed ( )