PHP Class Traq\Database\Seeder

Since: 4.0
Mostra file Open project: nirix/traq Class Usage Examples

Public Methods

Method 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.

Protected Methods

Method Description
createAnonymousUser ( ) : integer Creates the anonymous user and returns the ID.

Method Details

createAnonymousUser() protected method

Creates the anonymous user and returns the ID.
protected createAnonymousUser ( ) : integer
return integer

insertGroups() public method

Insert user groups.
public insertGroups ( )

insertPermissions() public method

Insert permissions.
public insertPermissions ( )

insertPriorities() public method

Insert priorities.
public insertPriorities ( )

insertProjectRoles() public method

Insert project roles.
public insertProjectRoles ( )

insertSettings() public method

Insert settings.
public insertSettings ( )

insertSeverities() public method

Insert severities.
public insertSeverities ( )

insertStatuses() public method

Insert statuses.
public insertStatuses ( )

insertTypes() public method

Insert types.
public insertTypes ( )

seed() public method

Seeds the database.
public seed ( )