Elgg  Version 3.0
Public Member Functions | List of all members
Elgg\Database\Seeds\Groups Class Reference

Seed users. More...

Inheritance diagram for Elgg\Database\Seeds\Groups:
Elgg\Database\Seeds\Seed Elgg\Database\Seeds\Seedable

Public Member Functions

 seed ()
 {} More...
 
 unseed ()
 {} More...
 
 getRandomVisibility ()
 Returns random visibility value. More...
 
 getRandomContentAccessMode ()
 Returns random content access mode value. More...
 
 getRandomMembership ()
 Returns random membership mode. More...
 
- Public Member Functions inherited from Elgg\Database\Seeds\Seed
 __construct ($limit=null)
 Seed constructor. More...
 
 seed ()
 Populate database. More...
 
 unseed ()
 Removed seeded rows from database. More...
 
- Public Member Functions inherited from Elgg\Database\Seeds\Seedable
 createUser (array $attributes=[], array $metadata=[])
 Create a new fake user. More...
 
 createGroup (array $attributes=[], array $metadata=[])
 Create a new fake group. More...
 
 createObject (array $attributes=[], array $metadata=[])
 Create a new fake object. More...
 
 createSite (array $attributes=[], array $metadata=[])
 Create a new fake site. More...
 

Detailed Description

Seed users.

Definition at line 10 of file Groups.php.

Member Function Documentation

Elgg\Database\Seeds\Groups::getRandomContentAccessMode ( )

Returns random content access mode value.

Returns
string

Definition at line 176 of file Groups.php.

Elgg\Database\Seeds\Groups::getRandomMembership ( )

Returns random membership mode.

Returns
mixed

Definition at line 186 of file Groups.php.

Elgg\Database\Seeds\Groups::getRandomVisibility ( )

Returns random visibility value.

Returns
int

Definition at line 166 of file Groups.php.

Elgg\Database\Seeds\Groups::seed ( )

{}

Definition at line 31 of file Groups.php.

Elgg\Database\Seeds\Groups::unseed ( )

{}

Definition at line 138 of file Groups.php.


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