Detailed Description
Order pdf generator class 
Definition at line 6 of file invoicepdfoxorder.php.
Member Function Documentation
  
  
      
        
          | InvoicepdfOxOrder::_getActShop  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
  
  
      
        
          | InvoicepdfOxOrder::_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 586 of file invoicepdfoxorder.php.
 
 
  
  
      
        
          | InvoicepdfOxOrder::_setBillingAddressToPdf  | 
          ( | 
            | 
          $oPdf | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
Set billing address info to pdf.
- Parameters
 - 
  
    | object | $oPdf | pdf document object  | 
  
   
Definition at line 224 of file invoicepdfoxorder.php.
 
 
  
  
      
        
          | InvoicepdfOxOrder::_setDeliveryAddressToPdf  | 
          ( | 
            | 
          $oPdf | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
Set delivery address info to pdf.
- Parameters
 - 
  
    | object | $oPdf | pdf document object  | 
  
   
Definition at line 249 of file invoicepdfoxorder.php.
 
 
  
  
      
        
          | InvoicepdfOxOrder::_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  | 
  
   
Definition at line 278 of file invoicepdfoxorder.php.
 
 
      
        
          | InvoicepdfOxOrder::exportDeliveryNote  | 
          ( | 
            | 
          $oPdf | ) | 
           | 
        
      
 
Generating delivery note pdf.
- Parameters
 - 
  
    | object | $oPdf | pdf document object  | 
  
   
Definition at line 466 of file invoicepdfoxorder.php.
 
 
      
        
          | InvoicepdfOxOrder::exportStandart  | 
          ( | 
            | 
          $oPdf | ) | 
           | 
        
      
 
Exporting standard invoice pdf
- Parameters
 - 
  
    | object | $oPdf | pdf document object  | 
  
   
Definition at line 343 of file invoicepdfoxorder.php.
 
 
      
        
          | InvoicepdfOxOrder::genPdf  | 
          ( | 
            | 
          $sFilename,  | 
        
        
           | 
           | 
            | 
          $iSelLang = 0  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Generates order pdf report file.
- Parameters
 - 
  
    | string | $sFilename | name of report file  | 
    | int | $iSelLang | active language  | 
  
   
Definition at line 173 of file invoicepdfoxorder.php.
 
 
      
        
          | InvoicepdfOxOrder::getCurrency  | 
          ( | 
           | ) | 
           | 
        
      
 
 
      
        
          | InvoicepdfOxOrder::getPaymentTerm  | 
          ( | 
           | ) | 
           | 
        
      
 
Method returns config param iPaymentTerm, default value is 7;
- Returns
 - int 
 
Definition at line 650 of file invoicepdfoxorder.php.
 
 
      
        
          | InvoicepdfOxOrder::getSelectedLang  | 
          ( | 
           | ) | 
           | 
        
      
 
 
      
        
          | InvoicepdfOxOrder::getVats  | 
          ( | 
           | ) | 
           | 
        
      
 
 
      
        
          | InvoicepdfOxOrder::pdfFooter  | 
          ( | 
            | 
          $oPdf | ) | 
           | 
        
      
 
Formats pdf page footer.
- Parameters
 - 
  
    | object | $oPdf | pdf document object  | 
  
   
Definition at line 83 of file invoicepdfoxorder.php.
 
 
      
        
          | InvoicepdfOxOrder::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 149 of file invoicepdfoxorder.php.
 
 
      
        
          | InvoicepdfOxOrder::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 120 of file invoicepdfoxorder.php.
 
 
      
        
          | InvoicepdfOxOrder::setSelectedLang  | 
          ( | 
            | 
          $iLang | ) | 
           | 
        
      
 
 
      
        
          | InvoicepdfOxOrder::translate  | 
          ( | 
            | 
          $sString | ) | 
           | 
        
      
 
Returns translated string.
- Parameters
 - 
  
    | string | $sString | string to translate | 
  
   
- Returns
 - string 
 
Definition at line 73 of file invoicepdfoxorder.php.
 
 
Member Data Documentation
  
  
      
        
          | InvoicepdfOxOrder::$_aVATs = array() | 
         
       
   | 
  
protected   | 
  
 
 
  
  
      
        
          | InvoicepdfOxOrder::$_iSelectedLang = 0 | 
         
       
   | 
  
protected   | 
  
 
 
  
  
      
        
          | InvoicepdfOxOrder::$_oActShop = null | 
         
       
   | 
  
protected   | 
  
 
 
  
  
      
        
          | InvoicepdfOxOrder::$_oCur = null | 
         
       
   | 
  
protected   | 
  
 
 
The documentation for this class was generated from the following file: