Methods

offsetExists()

offsetExists(  $offset) 

Parameters

$offset

offsetGet()

offsetGet(  $offset) 

Parameters

$offset

offsetSet()

offsetSet(  $offset,   $value) 

Parameters

$offset
$value

offsetUnset()

offsetUnset(  $offset) 

Parameters

$offset

toArray()

toArray() 

loadFromFile()

loadFromFile(  $filename) : static

Create an DocmailTemplateFile object with an specific file already loaded.

Parameters

$filename

Throws

\Hpolthof\Docmail\DocmailException

Returns

static

getTemplateName()

getTemplateName() : string

Returns

string

getFileName()

getFileName() : string

Returns

string

getFileData()

getFileData() : string

Returns

string

getDocumentType()

getDocumentType() : mixed

Returns

mixed

setDocumentType()

setDocumentType(  $DocumentType) 

Parameters

$DocumentType

getAddressedDocument()

getAddressedDocument() : mixed

Returns

mixed

setAddressedDocument()

setAddressedDocument(mixed  $AddressedDocument) : \Hpolthof\Docmail\DocmailTemplateFile

Add the address panel to the document. The first template uploaded onto a mail pack will be automatically set as an addressed document.

Parameters

mixed $AddressedDocument

Returns

\Hpolthof\Docmail\DocmailTemplateFile

getAddressFontCode()

getAddressFontCode() : mixed

Returns

mixed

setAddressFontCode()

setAddressFontCode(  $AddressFontCode) 

Parameters

$AddressFontCode

getTemplateType()

getTemplateType() : string

Returns

string

getBackgroundName()

getBackgroundName() : string

Returns

string

isCanBeginOnBack()

isCanBeginOnBack() : boolean

Returns

boolean

setCanBeginOnBack()

setCanBeginOnBack(boolean  $CanBeginOnBack) : \Hpolthof\Docmail\DocmailTemplateFile

Parameters

boolean $CanBeginOnBack

Returns

\Hpolthof\Docmail\DocmailTemplateFile

isNextTemplateCanBeginOnBack()

isNextTemplateCanBeginOnBack() : boolean

Returns

boolean

setNextTemplateCanBeginOnBack()

setNextTemplateCanBeginOnBack(boolean  $NextTemplateCanBeginOnBack) : \Hpolthof\Docmail\DocmailTemplateFile

Parameters

boolean $NextTemplateCanBeginOnBack

Returns

\Hpolthof\Docmail\DocmailTemplateFile

getProtectedAreaPassword()

getProtectedAreaPassword() : string

Returns

string

setProtectedAreaPassword()

setProtectedAreaPassword(string  $ProtectedAreaPassword) : \Hpolthof\Docmail\DocmailTemplateFile

Parameters

string $ProtectedAreaPassword

Returns

\Hpolthof\Docmail\DocmailTemplateFile

getEncryptionPassword()

getEncryptionPassword() : string

Returns

string

setEncryptionPassword()

setEncryptionPassword(string  $EncryptionPassword) : \Hpolthof\Docmail\DocmailTemplateFile

Parameters

string $EncryptionPassword

Returns

\Hpolthof\Docmail\DocmailTemplateFile

isBleedSupplied()

isBleedSupplied() : boolean

Returns

boolean

getCopies()

getCopies() : integer

Returns

integer

getInstances()

getInstances() : integer

Returns

integer

getInstancePageNumbers()

getInstancePageNumbers() : string

Returns

string

setInstancePageNumbers()

setInstancePageNumbers(string  $InstancePageNumbers) : \Hpolthof\Docmail\DocmailTemplateFile

Parameters

string $InstancePageNumbers

Returns

\Hpolthof\Docmail\DocmailTemplateFile

isCycleInstancesOnCopies()

isCycleInstancesOnCopies() : boolean

Returns

boolean

setCycleInstancesOnCopies()

setCycleInstancesOnCopies(boolean  $CycleInstancesOnCopies) : \Hpolthof\Docmail\DocmailTemplateFile

Parameters

boolean $CycleInstancesOnCopies

Returns

\Hpolthof\Docmail\DocmailTemplateFile