public function saveContent($source, $content) {
    $dest = "{$this->path}/content/{$content['id']}";

    // Remove any old content
    \H5PCore::deleteFileTree($dest);

    self::copyFileTree($source, $dest);
  }
public function saveContent($source, $content) {
    $dest = "{$this->path}/content/{$content['id']}";

    // Remove any old content
    \H5PCore::deleteFileTree($dest);

    self::copyFileTree($source, $dest);
  }
public function saveContent ( $ source , $ content ) { $ dest = "{$this->path}/content/{$content['id']}" ; // Remove any old content \ H5PCore :: deleteFileTree ( $ dest ) ; self :: copyFileTree ( $ source , $ dest ) ; }
Store the content folder.

@param string $source
Path on file system to content directory.
@param array $content
Content properties
Store the content folder .