You are here

function RealisticDummyContentDummyEnvironment::createFile in Realistic Dummy Content 7

File

api/includes/RealisticDummyContentDummyEnvironment.inc, line 18
Define RealisticDummyContentLiveEnvironment autoload class.

Class

RealisticDummyContentDummyEnvironment
The dummy environment.

Code

function createFile($path, $data) {
  if (!is_array($this->files)) {
    $this->files = array();
  }
  $this->files[$path] = $data;
}