Elgg
Version 3.0
|
Abstract seed. More...
Public Member Functions | |
__construct ($limit=null) | |
Seed constructor. More... | |
seed () | |
Populate database. More... | |
unseed () | |
Removed seeded rows from database. More... | |
![]() | |
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... | |
Abstract seed.
Plugins should extend this class to create their own seeders, add use 'seeds','database' plugin hook to add their seed to the sequence.
Elgg\Database\Seeds\Seed::__construct | ( | $limit = null | ) |
|
abstract |
Populate database.
|
abstract |
Removed seeded rows from database.