You are here

function RealisticDummyContentGenerator::__construct in Realistic Dummy Content 7

Parameters

$more: Can contain: kill => TRUE|FALSE

File

api/includes/RealisticDummyContentGenerator.inc, line 20
Define RealisticDummyContentGenerator autoload class.

Class

RealisticDummyContentGenerator
@file

Code

function __construct($type, $bundle, $num, $more) {
  $this->type = $type;
  $this->bundle = $bundle;
  $this->num = $num;
  if (isset($more['kill']) && $more['kill']) {
    $this->kill = TRUE;
  }
  else {
    $this->kill = FALSE;
  }
}