Elgg  Version 4.x
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Elgg\Database\Seeds\Users Class Reference

Seed users. More...

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

Public Member Functions

 seed ()
 {} More...
 
 unseed ()
 {} More...
 
- Public Member Functions inherited from Elgg\Database\Seeds\Seed
 __construct (array $options=[])
 Seed constructor. More...
 
 getCount ()
 Get the count of the seeded entities. More...
 
 advance (int $step=1)
 Advance progressbar. 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...
 

Static Public Member Functions

static getType ()
 
- Static Public Member Functions inherited from Elgg\Database\Seeds\Seed
static register (\Elgg\Hook $hook)
 Register this class for seeding. More...
 
static getType ()
 Get the (un)seeding type of this handler. More...
 

Protected Member Functions

 getCountOptions ()
 
- Protected Member Functions inherited from Elgg\Database\Seeds\Seed
 getCountOptions ()
 Get options for elgg_count_entities() More...
 

Additional Inherited Members

- Protected Attributes inherited from Elgg\Database\Seeds\Seed
 $limit = 20
 
 $create = false
 
 $seeded_counter = 0
 

Detailed Description

Seed users.

Definition at line 12 of file Users.php.

Member Function Documentation

Elgg\Database\Seeds\Users::getCountOptions ( )
protected

Definition at line 149 of file Users.php.

static Elgg\Database\Seeds\Users::getType ( )
static

Definition at line 142 of file Users.php.

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

{}

Definition at line 17 of file Users.php.

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

{}

Definition at line 116 of file Users.php.


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