install/UserDemoData.php
\UserDemoData
Package:
Properties
$guids= 'array(
'jim' => 'seed_jim_id',
'sarah' => 'seed_sarah_id',
'sally' => 'seed_sally_id',
'max' => 'seed_max_id',
'will' => 'seed_will_id',
'chris' => 'seed_chris_id',
/*
* Pending fix of demo data mechanism
'jim' => 'jim00000-0000-0000-0000-000000000000',
'sarah' => 'sarah000-0000-0000-0000-000000000000',
'sally' => 'sally000-0000-0000-0000-000000000000',
'max' => 'max00000-0000-0000-0000-000000000000',
'will' => 'will0000-0000-0000-0000-000000000000',
'chris' => 'chris000-0000-0000-0000-000000000000',
*/
)'
Default value
array(
'jim' => 'seed_jim_id',
'sarah' => 'seed_sarah_id',
'sally' => 'seed_sally_id',
'max' => 'seed_max_id',
'will' => 'seed_will_id',
'chris' => 'seed_chris_id',
/*
* Pending fix of demo data mechanism
'jim' => 'jim00000-0000-0000-0000-000000000000',
'sarah' => 'sarah000-0000-0000-0000-000000000000',
'sally' => 'sally000-0000-0000-0000-000000000000',
'max' => 'max00000-0000-0000-0000-000000000000',
'will' => 'will0000-0000-0000-0000-000000000000',
'chris' => 'chris000-0000-0000-0000-000000000000',
*/
)
Details- Type
- n/a
Methods
UserDemoData(
$seed_user, $large_scale_test
=
false
)
:
void
Constructor for creating user demo data
Parameters
Name | Type | Description |
---|---|---|
$seed_user | ||
$large_scale_test |
_create_seed_user(
$id, $last_name, $first_name, $user_name, $title, $is_admin, $reports_to, $reports_to_name, $email
)
:
void
Create a user in the seed data.
Parameters
Name | Type | Description |
---|---|---|
$id | ||
$last_name | ||
$first_name | ||
$user_name | ||
$title | ||
$is_admin | ||
$reports_to | ||
$reports_to_name | ||