Documentation

CollectionBinariesObject extends MainObject
in package

Description of CollectionBinariesObject

Tags
author

nczirjak

Table of Contents

Properties

$model  : mixed
$repoDb  : mixed
$repoid  : mixed
$result  : mixed
$siteLang  : mixed
$collectionDate  : mixed
$collectionTmpDir  : mixed
$repoUrl  : mixed
$tmpDir  : mixed
$turtle  : mixed

Methods

__construct()  : mixed
collectionDownloadFiles()  : mixed
Download the selected binaries
getData()  : array<string|int, mixed>
init()  : string
turtleDissService()  : type
Create turtle file from the resource
createModel()  : void
collectionCreateDlDirectory()  : string
Setup the collection directory for the downloads
collectionGetTurtle()  : bool
Get the turtle file and copy it to the collection download directory
collectionRemoveTempFiles()  : mixed
Remove the files from the collections directory
collectionTarFiles()  : bool
TAR the downloaded collection files
createCollectionDir()  : string
Create the directory for the collection
createFileNameForCollectionDownload()  : string
Remove the white spaces from the filename
createPathString()  : string
We have to remove the special chars from the path string
createTarFileName()  : string
Create the filename
setTmpDir()  : mixed
update TmpDir value

Properties

Methods

collectionDownloadFiles()

Download the selected binaries

public collectionDownloadFiles(array<string|int, mixed> $binaries[, string $username = '' ][, string $password = '' ]) : mixed
Parameters
$binaries : array<string|int, mixed>
$username : string = ''
$password : string = ''

getData()

public getData() : array<string|int, mixed>
Return values
array<string|int, mixed>

init()

public init(array<string|int, mixed> $binaries, string $repoid[, string $username = "" ][, string $password = "" ]) : string
Parameters
$binaries : array<string|int, mixed>
$repoid : string
$username : string = ""
$password : string = ""
Return values
string

turtleDissService()

Create turtle file from the resource

public turtleDissService() : type
Return values
type

collectionCreateDlDirectory()

Setup the collection directory for the downloads

private collectionCreateDlDirectory() : string
Return values
string

collectionGetTurtle()

Get the turtle file and copy it to the collection download directory

private collectionGetTurtle(string $repoid) : bool
Parameters
$repoid : string
Return values
bool

collectionRemoveTempFiles()

Remove the files from the collections directory

private collectionRemoveTempFiles() : mixed

collectionTarFiles()

TAR the downloaded collection files

private collectionTarFiles() : bool
Return values
bool

createCollectionDir()

Create the directory for the collection

private createCollectionDir(string $path) : string
Parameters
$path : string
Return values
string

createFileNameForCollectionDownload()

Remove the white spaces from the filename

private createFileNameForCollectionDownload(string $filename) : string
Parameters
$filename : string
Return values
string

createPathString()

We have to remove the special chars from the path string

private createPathString(string $path) : string
Parameters
$path : string
Return values
string

createTarFileName()

Create the filename

private createTarFileName(string $ext, string $d) : string
Parameters
$ext : string
$d : string
Return values
string

        
On this page

Search results