Elgg
Version 2.3
|
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 ($locale= 'en_US') | |
Seed constructor. More... | |
seed () | |
Populate database. More... | |
unseed () | |
Removed seeded rows from database. More... | |
getDomain () | |
Get site domain. More... | |
createUser (array $attributes=[], array $metadata=[]) | |
Create a new faker user. More... | |
createGroup (array $attributes=[], array $metadata=[]) | |
Create a new faker group. More... | |
createObject (array $attributes=[], array $metadata=[]) | |
Create a new faker object. More... | |
getRandomUser (array $exclude=[]) | |
Returns random fake user. More... | |
getRandomGroup (array $exclude=[]) | |
Returns random fake group. More... | |
getRandomAccessId (\ElggUser $user=null, ElggEntity $container=null) | |
Get random access id. More... | |
getRandomUsername ($base_name= 'user') | |
Generates a unique available and valid username. More... | |
populateMetadata (ElggEntity $entity, array $fields=[], array $metadata=[]) | |
Set random metadata. More... | |
createIcon (ElggEntity $entity) | |
Create an icon for an entity. More... | |
createComments (ElggEntity $entity, $limit=null) | |
Create comments/replies. More... | |
createLikes (ElggEntity $entity, $limit=null) | |
Create likes. More... | |
log ($msg, $level= 'NOTICE') | |
Log a message. More... | |
Additional Inherited Members | |
Protected Attributes inherited from Elgg\Database\Seeds\Seed | |
$limit = 3 | |
$faker | |
Elgg\Database\Seeds\Groups::getRandomContentAccessMode | ( | ) |
Elgg\Database\Seeds\Groups::getRandomMembership | ( | ) |
Elgg\Database\Seeds\Groups::getRandomVisibility | ( | ) |
Elgg\Database\Seeds\Groups::seed | ( | ) |
{}
Definition at line 36 of file Groups.php.
Elgg\Database\Seeds\Groups::unseed | ( | ) |
{}
Definition at line 130 of file Groups.php.