Documentation

PklWriter extends BaseWriter
in package

Table of Contents

Properties

$contents  : SimpleXMLElement
$Creator  : string
$Issuer  : string
$templates  : array<string|int, mixed>

Methods

__construct()  : mixed
addAsset()  : mixed
loadFromFile()  : static
loadFromTemplate()  : static
loadFromText()  : static
saveToFile()  : bool

Properties

$Creator

private string $Creator = 'Spottix Renamer'

$templates

private array<string|int, mixed> $templates

Methods

addAsset()

public addAsset(string $Filename, string $Id, string $Hash, int $Size[, string $Type = 'text/xml;asdcpKind=CPL' ]) : mixed
Parameters
$Filename : string
$Id : string
$Hash : string
$Size : int
$Type : string = 'text/xml;asdcpKind=CPL'

loadFromText()

public loadFromText(string $text) : static
Parameters
$text : string
Return values
static

        
On this page

Search results