public function exportLibrary($library, $target, $developmentPath=NULL) {
    $folder = \H5PCore::libraryToString($library, TRUE);
    $srcPath = ($developmentPath === NULL ? "/libraries/{$folder}" : $developmentPath);
    self::copyFileTree("{$this->path}{$srcPath}", "{$target}/{$folder}");
  }
public function exportLibrary($library, $target, $developmentPath=NULL) {
    $folder = \H5PCore::libraryToString($library, TRUE);
    $srcPath = ($developmentPath === NULL ? "/libraries/{$folder}" : $developmentPath);
    self::copyFileTree("{$this->path}{$srcPath}", "{$target}/{$folder}");
  }
public function exportLibrary ( $ library , $ target , $ developmentPath = NULL ) { $ folder = \ H5PCore :: libraryToString ( $ library , TRUE ) ; $ srcPath = ( $ developmentPath === NULL ? "/libraries/{$folder}" : $ developmentPath ) ; self :: copyFileTree ( "{$this->path}{$srcPath}" , "{$target}/{$folder}" ) ; }
Fetch library folder and save in target directory.

@param array $library
Library properties
@param string $target
Where the library folder will be saved
@param string $developmentPath
Folder that library resides in
Fetch library folder and save in target directory .