abstract class RealisticDummyContentGenerator in Realistic Dummy Content 7
@file
Define RealisticDummyContentGenerator autoload class.
Hierarchy
Expanded class hierarchy of RealisticDummyContentGenerator
File
- api/
includes/ RealisticDummyContentGenerator.inc, line 9 - Define RealisticDummyContentGenerator autoload class.
View source
abstract class RealisticDummyContentGenerator {
private $type;
private $bundle;
private $num;
private $more;
/**
* @param $more
* Can contain:
* kill => TRUE|FALSE
*/
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;
}
}
function GetBundle() {
return $this->bundle;
}
function GetType() {
return $this->type;
}
function GetKill() {
return $this->kill;
}
function GetNum() {
return $this->num;
}
function Generate() {
$this
->_Generate_();
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
RealisticDummyContentGenerator:: |
private | property | ||
RealisticDummyContentGenerator:: |
private | property | ||
RealisticDummyContentGenerator:: |
private | property | ||
RealisticDummyContentGenerator:: |
private | property | ||
RealisticDummyContentGenerator:: |
function | |||
RealisticDummyContentGenerator:: |
function | |||
RealisticDummyContentGenerator:: |
function | |||
RealisticDummyContentGenerator:: |
function | |||
RealisticDummyContentGenerator:: |
function | |||
RealisticDummyContentGenerator:: |
function |