class PdfEvent extends ActionEvent

Class PdfEvent

Methods

__set($name, $value)

No description

__get($name)

No description

bindForm( Form $form)

No description

__construct( string $content, string $orientation = 'P', string $format = 'A4', string $lang = 'fr', bool $unicode = true, string $encoding = 'UTF-8', array $marges = array(0, 0, 0, 0), string $fontName = 'freesans')

No description

$this
setContent( mixed $content)

No description

mixed
getContent()

No description

setPdf($pdf)

No description

getPdf()

No description

hasPdf()

No description

$this
setEncoding( mixed $encoding)

No description

mixed
getEncoding()

No description

$this
setFormat( mixed $format)

No description

mixed
getFormat()

No description

$this
setLang( mixed $lang)

No description

mixed
getLang()

No description

$this
setMarges( array $marges)

No description

array
getMarges()

No description

$this
setOrientation( mixed $orientation)

No description

mixed
getOrientation()

No description

$this
setUnicode( mixed $unicode)

No description

mixed
getUnicode()

No description

mixed
getFontName()

No description

$this
setFontName( string $fontName)

No description

Details

in ActionEvent at line 30
__set($name, $value)

Parameters

$name
$value

in ActionEvent at line 35
__get($name)

Parameters

$name

in ActionEvent at line 44
bindForm( Form $form)

Parameters

Form $form

at line 44
__construct( string $content, string $orientation = 'P', string $format = 'A4', string $lang = 'fr', bool $unicode = true, string $encoding = 'UTF-8', array $marges = array(0, 0, 0, 0), string $fontName = 'freesans')

Parameters

string $content html content to transform into pdf
string $orientation page orientation, same as TCPDF
string $format The format used for pages, same as TCPDF
string $lang Lang : fr, en, it...
bool $unicode TRUE means that the input text is unicode (default = true)
string $encoding charset encoding; default is UTF-8
array $marges Default marges (left, top, right, bottom)
string $fontName Default font name

at line 68
$this setContent( mixed $content)

Parameters

mixed $content

Return Value

$this

at line 78
mixed getContent()

Return Value

mixed

at line 83
setPdf($pdf)

Parameters

$pdf

at line 90
getPdf()

at line 95
hasPdf()

at line 104
$this setEncoding( mixed $encoding)

Parameters

mixed $encoding

Return Value

$this

at line 114
mixed getEncoding()

Return Value

mixed

at line 123
$this setFormat( mixed $format)

Parameters

mixed $format

Return Value

$this

at line 133
mixed getFormat()

Return Value

mixed

at line 142
$this setLang( mixed $lang)

Parameters

mixed $lang

Return Value

$this

at line 152
mixed getLang()

Return Value

mixed

at line 161
$this setMarges( array $marges)

Parameters

array $marges

Return Value

$this

at line 171
array getMarges()

Return Value

array

at line 180
$this setOrientation( mixed $orientation)

Parameters

mixed $orientation

Return Value

$this

at line 190
mixed getOrientation()

Return Value

mixed

at line 199
$this setUnicode( mixed $unicode)

Parameters

mixed $unicode

Return Value

$this

at line 209
mixed getUnicode()

Return Value

mixed

at line 217
mixed getFontName()

Return Value

mixed

at line 226
$this setFontName( string $fontName)

Parameters

string $fontName

Return Value

$this