List of all members.
Detailed Description
Order pdf generator class
Definition at line 669 of file myorder.php.
Member Function Documentation
MyOrder._getActShop |
( |
|
) |
[protected] |
Returns active shop object
- Returns:
- oxshop $oUser
Definition at line 712 of file myorder.php.
MyOrder._replaceExtendedChars |
( |
$ |
sValue, |
|
|
$ |
blReverse = false | |
|
) |
| | [protected] |
Replaces some special characters to HTML compatible symbol codes. SWITCHED OFF NOW ( 2.2 )
- Parameters:
-
| string | $sValue initial value |
| bool | $blReverse (default false) if false - checks if we do have already htmlentities inside |
- Returns:
- string
Definition at line 1257 of file myorder.php.
MyOrder._setBillingAddressToPdf |
( |
$ |
oPdf |
) |
[protected] |
Set billing address info to pdf
- Parameters:
-
| object | $oPdf pdf document object |
- Returns:
- null
Definition at line 887 of file myorder.php.
MyOrder._setDeliveryAddressToPdf |
( |
$ |
oPdf |
) |
[protected] |
Set delivery address info to pdf
- Parameters:
-
| object | $oPdf pdf document object |
- Returns:
- null
Definition at line 914 of file myorder.php.
MyOrder._setOrderArticlesToPdf |
( |
$ |
oPdf, |
|
|
&$ |
iStartPos, |
|
|
$ |
blShowPrice = true | |
|
) |
| | [protected] |
Set order articles info and articles VAT's to pdf
- Parameters:
-
| object | $oPdf pdf document object |
| int | &$iStartPos text start position from top |
| bool | $blShowPrice show articles prices / VAT info or not |
- Returns:
- null
Definition at line 945 of file myorder.php.
MyOrder.exportDeliveryNote |
( |
$ |
oPdf |
) |
|
Generating delivery note pdf
- Parameters:
-
| object | $oPdf pdf document object |
- Returns:
- null
Definition at line 1137 of file myorder.php.
MyOrder.exportStandart |
( |
$ |
oPdf |
) |
|
Exporting standard invoice pdf
- Parameters:
-
| object | $oPdf pdf document object |
- Returns:
- null
Definition at line 1012 of file myorder.php.
MyOrder.genPdf |
( |
$ |
sFilename, |
|
|
$ |
iSelLang = 0 | |
|
) |
| | |
Generates order pdf report file
- Parameters:
-
| string | $sFilename name of report file |
| int | $iSelLang active language |
- Returns:
- null
Definition at line 834 of file myorder.php.
Returns order currency object
- Returns:
- object
Definition at line 1301 of file myorder.php.
MyOrder.getPaymentTerm |
( |
|
) |
|
Method returns config param iPaymentTerm, default value is 7;
- Returns:
- int
Definition at line 1321 of file myorder.php.
MyOrder.getSelectedLang |
( |
|
) |
|
Returns order currency object
- Returns:
- object
Definition at line 1311 of file myorder.php.
Returns order articles VATS's
- Returns:
- array
Definition at line 1290 of file myorder.php.
MyOrder.pdfFooter |
( |
$ |
oPdf |
) |
|
Formats pdf page footer
- Parameters:
-
| object | $oPdf pdf document object |
- Returns:
- null
Definition at line 743 of file myorder.php.
MyOrder.pdfHeader |
( |
$ |
oPdf |
) |
|
Creating new page with shop logo. Returning position to continue data writing
- Parameters:
-
| object | $oPdf pdf document object |
- Returns:
- int
Definition at line 809 of file myorder.php.
MyOrder.pdfHeaderPlus |
( |
$ |
oPdf |
) |
|
Adds shop logo to page header. Returns position for next texts in pdf
- Parameters:
-
| object | $oPdf pdf document object |
- Returns:
- int
Definition at line 780 of file myorder.php.
MyOrder.setSelectedLang |
( |
$ |
iLang |
) |
|
Set language for pdf generation
- Parameters:
-
Definition at line 702 of file myorder.php.
MyOrder.translate |
( |
$ |
sString |
) |
|
Returns translated string
- Parameters:
-
| string | $sString string to translate |
- Returns:
- string
Definition at line 731 of file myorder.php.
Member Data Documentation
MyOrder.$_aVATs = array() [protected] |
MyOrder.$_iSelectedLang = 0 [protected] |
MyOrder.$_oActShop = null [protected] |
MyOrder.$_oCur = null [protected] |
The documentation for this class was generated from the following file: