plugin/scorm/Event/ExportScormResourceEvent.php
public function addFile($packageName, $filePath, $absolutePath = false)
    {
        $this->files[$packageName] = [
            'path' => $filePath,
            'absolute' => $absolutePath,
        ];
    }
public function addFile($packageName, $filePath, $absolutePath = false)
    {
        $this->files[$packageName] = [
            'path' => $filePath,
            'absolute' => $absolutePath,
        ];
    }
public function addFile ( $ packageName , $ filePath , $ absolutePath = false ) { $ this -> files [ $ packageName ] = [ 'path' => $ filePath , 'absolute' => $ absolutePath , ] ; }
Add a new uploaded file to include.

@param string $packageName  - Name of the asset in the SCORM package (with extension)
@param string $filePath     - Path to the file
@param bool   $absolutePath - if false $filePath will be searched in `files` directory
Add a new uploaded file to include .