Elgg
Version master
|
Functions | |
getRandomGroupVisibility () | |
Returns random visibility value. More... | |
getRandomGroupContentAccessMode () | |
Returns random content access mode value. More... | |
getRandomGroupMembership () | |
Returns random membership mode. More... | |
setCreateSince ($since= 'now') | |
Set a time for entities to be created after. More... | |
setCreateUntil ($until= 'now') | |
Set a time for entities to be created until. More... | |
getRandomCreationTimestamp () | |
Get a random timestamp between a lower and upper time. More... | |
Variables | |
trait | GroupHelpers |
Group helpers for seeding. More... | |
trait | TimeHelpers |
Trait to add time helpers. More... | |
$create_until | |
Elgg\Traits\Seeding\getRandomCreationTimestamp | ( | ) |
Get a random timestamp between a lower and upper time.
Definition at line 54 of file TimeHelpers.php.
Elgg\Traits\Seeding\getRandomGroupContentAccessMode | ( | ) |
Returns random content access mode value.
Definition at line 43 of file GroupHelpers.php.
Elgg\Traits\Seeding\getRandomGroupMembership | ( | ) |
Elgg\Traits\Seeding\getRandomGroupVisibility | ( | ) |
Elgg\Traits\Seeding\setCreateSince | ( | $since = 'now' | ) |
Set a time for entities to be created after.
mixed | $since | Time value for first creation date |
Definition at line 33 of file TimeHelpers.php.
Elgg\Traits\Seeding\setCreateUntil | ( | $until = 'now' | ) |
Set a time for entities to be created until.
mixed | $until | Time value for last creation date |
Definition at line 45 of file TimeHelpers.php.
|
protected |
Definition at line 23 of file TimeHelpers.php.
trait Elgg::Traits::Seeding\GroupHelpers |
Group helpers for seeding.
Definition at line 11 of file GroupHelpers.php.
trait Elgg::Traits::Seeding\TimeHelpers |
Trait to add time helpers.
Definition at line 13 of file TimeHelpers.php.