OXID eShop CE  4.8.11
 All Classes Files Functions Variables Pages
PdfBlock Class Reference
+ Inheritance diagram for PdfBlock:

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'

Detailed Description

PDF renderer helper class, used to store data, sizes etc..

Definition at line 6 of file myorder.php.

Member Function Documentation

PdfBlock::_toCache (   $sFunc,
  $aParams 
)
protected

Stores cacheable parameters

Parameters
string$sFunccacheable function name
array$aParamscacheable parameters
Returns
null

Definition at line 28 of file myorder.php.

PdfBlock::ajustHeight (   $iDelta)

Adjusts height after new page addition

Parameters
int$iDeltanew height
Returns
null

Definition at line 117 of file myorder.php.

PdfBlock::font (   $sType,
  $sWeight,
  $sSize 
)

Caches SetFont call with parameters

Parameters
string$sTypefont type (Arial, Tahoma ...)
string$sWeightfont weight ('', 'B', 'U' ...)
string$sSizefont size ('10', '8', '6' ...)
Returns
null

Definition at line 105 of file myorder.php.

PdfBlock::getFont ( )

Caches SetFont call with parameters

Returns
string

Definition at line 137 of file myorder.php.

PdfBlock::line (   $iLPos,
  $iLHeight,
  $iRPos,
  $iRHeight 
)

Caches Line call with parameters

Parameters
int$iLPosleft position
int$iLHeightleft height
int$iRPosright position
int$iRHeightright height
Returns
null

Definition at line 77 of file myorder.php.

PdfBlock::run (   $oPdf)

Runs and evaluates cached code

Parameters
object$oPdfobject which methods will be executed
Returns
null

Definition at line 43 of file myorder.php.

PdfBlock::text (   $iLPos,
  $iLHeight,
  $sString 
)

Caches Text call with parameters

Parameters
int$iLPosleft position
int$iLHeightheight
string$sStringstring to write
Returns
null

Definition at line 91 of file myorder.php.

Member Data Documentation

PdfBlock::$_aCache = array()
protected

Definition at line 12 of file myorder.php.

PdfBlock::$_sFont = 'Arial'
protected

Definition at line 18 of file myorder.php.


The documentation for this class was generated from the following file: