install/UserDemoData.php

Show: inherited
Table of Contents

\UserDemoData

Package:

Properties

Propertypublic  $_large_scale_test= ''
Details
Type
n/a
Propertypublic  $_user= ''
Details
Type
n/a
Propertypublic  $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 valuearray( '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

methodpublicUserDemoData(  $seed_user,  $large_scale_test = false ) : void

Constructor for creating user demo data

Parameters
Name Type Description
$seed_user
$large_scale_test
methodpublic_copy_user_image(  $id ) : void

Parameters
Name Type Description
$id
methodpublic_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
$email
methodpublic_quick_create_user(  $name ) : void

Parameters
Name Type Description
$name
methodpublic_seed_data_get_user_list( ) : void

methodpubliccreate_demo_data( ) : void

Documentation was generated by DocBlox 0.18.1.