Elgg
Version 3.0
|
Public Member Functions | |
__construct (PluginHooksService $hooks, Progress $progress) | |
Seeder constructor. More... | |
seed ($limit=null) | |
Load seed scripts. More... | |
unseed () | |
Remove all seeded entities. More... | |
Protected Attributes | |
$hooks | |
$progress | |
Seeder class.
Populates the database with rows for testing
Definition at line 16 of file Seeder.php.
Elgg\Database\Seeder::__construct | ( | PluginHooksService | $hooks, |
Progress | $progress | ||
) |
Seeder constructor.
PluginHooksService | $hooks | Hooks registration service |
Progress | $progress | Progress helper |
Definition at line 34 of file Seeder.php.
Elgg\Database\Seeder::seed | ( | $limit = null | ) |
Load seed scripts.
int | $limit | the max number of entities to seed |
Definition at line 49 of file Seeder.php.
Elgg\Database\Seeder::unseed | ( | ) |
|
protected |
Definition at line 21 of file Seeder.php.
|
protected |
Definition at line 26 of file Seeder.php.