Public Member Functions | |
run ($oPdf) | |
line ($iLPos, $iLHeight, $iRPos, $iRHeight) | |
text ($iLPos, $iLHeight, $sString) | |
font ($sType, $sWeight, $sSize) | |
ajustHeight ($iDelta) | |
getFont () | |
Protected Member Functions | |
_toCache ($sFunc, $aParams) | |
Protected Attributes | |
$_aCache = array() | |
$_sFont = 'Arial' |
PDF renderer helper class, used to store data, sizes etc..
Definition at line 6 of file myorder.php.
PdfBlock._toCache | ( | $ | sFunc, | |
$ | aParams | |||
) | [protected] |
Stores cacheable parameters
string | $sFunc cacheable function name | |
array | $aParams cacheable parameters |
Definition at line 28 of file myorder.php.
PdfBlock.ajustHeight | ( | $ | iDelta | ) |
Adjusts height after new page addition
int | $iDelta new height |
Definition at line 117 of file myorder.php.
PdfBlock.font | ( | $ | sType, | |
$ | sWeight, | |||
$ | sSize | |||
) |
Caches SetFont call with parameters
string | $sType font type (Arial, Tahoma ...) | |
string | $sWeight font weight ('', 'B', 'U' ...) | |
string | $sSize font size ('10', '8', '6' ...) |
Definition at line 105 of file myorder.php.
PdfBlock.getFont | ( | ) |
PdfBlock.line | ( | $ | iLPos, | |
$ | iLHeight, | |||
$ | iRPos, | |||
$ | iRHeight | |||
) |
Caches Line call with parameters
int | $iLPos left position | |
int | $iLHeight left height | |
int | $iRPos right position | |
int | $iRHeight right height |
Definition at line 77 of file myorder.php.
PdfBlock.run | ( | $ | oPdf | ) |
Runs and evaluates cached code
object | $oPdf object which methods will be executed |
Definition at line 43 of file myorder.php.
PdfBlock.text | ( | $ | iLPos, | |
$ | iLHeight, | |||
$ | sString | |||
) |
Caches Text call with parameters
int | $iLPos left position | |
int | $iLHeight height | |
string | $sString string to write |
Definition at line 91 of file myorder.php.
PdfBlock.$_aCache = array() [protected] |
Definition at line 12 of file myorder.php.
PdfBlock.$_sFont = 'Arial' [protected] |
Definition at line 18 of file myorder.php.