| ILIAS
    Release_4_1_x_branch Revision 61804
    | 
 Inheritance diagram for ilERPDebtor:
 Inheritance diagram for ilERPDebtor: Collaboration diagram for ilERPDebtor:
 Collaboration diagram for ilERPDebtor:| Public Member Functions | |
| getInvoiceNumber () | |
| getName () | |
| getEmail () | |
| getAll () | |
| Get all information about a Debtor. | |
| setAll ($values) | |
| Set information about a Debtor. | |
| saveInvoice ($contens, $preview=true) | |
| sendInvoice ($subject, $message, $to=null, $bytes, $fname="faktura") | |
| setTestValues () | |
| Generate random values to test integration with ERP. | |
| Data Fields | |
| const | website = "http://www.ilias.dk" | 
| const | senderEmail = "noreply@ilias.dk" | 
| const | senderName = "ILIAS ERP" | 
| Protected Member Functions | |
| __construct () | |
| Protected Attributes | |
| $number | |
| $name = '' | |
| $email = '' | |
| $address = '' | |
| $postalcode = '' | |
| $city = '' | |
| $country = '' | |
| $phone = '' | |
| $ean | |
| $website | |
| $invoice_booked = false | |
| $invoice_number = 0 | |
| $handle | |
| $dgh | |
Definition at line 33 of file class.ilERPDebtor.php.
| 
 | protected | 
Reimplemented in ilERPDebtor_eco, and ilERPDebtor_none.
Definition at line 59 of file class.ilERPDebtor.php.
| ilERPDebtor::getAll | ( | ) | 
Get all information about a Debtor.
Reimplemented in ilERPDebtor_none.
Definition at line 83 of file class.ilERPDebtor.php.
References $address, $city, $country, $dgh, $ean, $email, $name, $number, $phone, $postalcode, and $website.
Referenced by ilERPDebtor_eco\createDebtor().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilERPDebtor::getEmail | ( | ) | 
Reimplemented in ilERPDebtor_none.
Definition at line 73 of file class.ilERPDebtor.php.
References $email.
| ilERPDebtor::getInvoiceNumber | ( | ) | 
Reimplemented in ilERPDebtor_none.
Definition at line 63 of file class.ilERPDebtor.php.
References $invoice_number.
Referenced by saveInvoice().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilERPDebtor::getName | ( | ) | 
Reimplemented in ilERPDebtor_none.
Definition at line 68 of file class.ilERPDebtor.php.
References $name.
| ilERPDebtor::saveInvoice | ( | $contens, | |
| $preview = true | |||
| ) | 
Reimplemented in ilERPDebtor_none.
Definition at line 113 of file class.ilERPDebtor.php.
References $file, $preview, getInvoiceNumber(), ilERP\getPreviewFile(), and ilERP\getSaveDirectory().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilERPDebtor::sendInvoice | ( | $subject, | |
| $message, | |||
| $to = null, | |||
| $bytes, | |||
| $fname = "faktura" | |||
| ) | 
Reimplemented in ilERPDebtor_none.
Definition at line 126 of file class.ilERPDebtor.php.
References $email, $filename, senderEmail, and senderName.
| ilERPDebtor::setAll | ( | $values | ) | 
Set information about a Debtor.
Reimplemented in ilERPDebtor_none.
Definition at line 103 of file class.ilERPDebtor.php.
| ilERPDebtor::setTestValues | ( | ) | 
Generate random values to test integration with ERP.
Reimplemented in ilERPDebtor_none.
Definition at line 175 of file class.ilERPDebtor.php.
References $city, $country, and website.
| 
 | protected | 
Definition at line 39 of file class.ilERPDebtor.php.
Referenced by getAll(), and ilERPDebtor_none\getAll().
| 
 | protected | 
Definition at line 41 of file class.ilERPDebtor.php.
Referenced by getAll(), ilERPDebtor_none\getAll(), setTestValues(), and ilERPDebtor_none\setTestValues().
| 
 | protected | 
Definition at line 42 of file class.ilERPDebtor.php.
Referenced by getAll(), ilERPDebtor_none\getAll(), setTestValues(), and ilERPDebtor_none\setTestValues().
| 
 | protected | 
Definition at line 50 of file class.ilERPDebtor.php.
Referenced by ilERPDebtor_eco\createDebtor(), getAll(), and ilERPDebtor_none\getAll().
| 
 | protected | 
Definition at line 44 of file class.ilERPDebtor.php.
Referenced by getAll(), ilERPDebtor_none\getAll(), and ilERPDebtor_eco\setEAN().
| 
 | protected | 
Definition at line 38 of file class.ilERPDebtor.php.
Referenced by getAll(), ilERPDebtor_none\getAll(), getEmail(), ilERPDebtor_none\getEmail(), sendInvoice(), and ilERPDebtor_none\sendInvoice().
| 
 | protected | 
Definition at line 49 of file class.ilERPDebtor.php.
| 
 | protected | 
Definition at line 46 of file class.ilERPDebtor.php.
| 
 | protected | 
Definition at line 47 of file class.ilERPDebtor.php.
Referenced by getInvoiceNumber(), and ilERPDebtor_none\getInvoiceNumber().
| 
 | protected | 
Definition at line 37 of file class.ilERPDebtor.php.
Referenced by getAll(), ilERPDebtor_none\getAll(), getName(), and ilERPDebtor_none\getName().
| 
 | protected | 
Definition at line 36 of file class.ilERPDebtor.php.
Referenced by ilERPDebtor_eco\createDebtor(), getAll(), ilERPDebtor_none\getAll(), ilERPDebtor_eco\getDebtorByNumber(), and ilERPDebtor_eco\setDebtorGroup().
| 
 | protected | 
Definition at line 43 of file class.ilERPDebtor.php.
Referenced by getAll(), and ilERPDebtor_none\getAll().
| 
 | protected | 
Definition at line 40 of file class.ilERPDebtor.php.
Referenced by getAll(), and ilERPDebtor_none\getAll().
| 
 | protected | 
Definition at line 45 of file class.ilERPDebtor.php.
Referenced by getAll(), and ilERPDebtor_none\getAll().
| const ilERPDebtor::senderEmail = "noreply@ilias.dk" | 
Definition at line 54 of file class.ilERPDebtor.php.
Referenced by sendInvoice(), and ilERPDebtor_none\sendInvoice().
| const ilERPDebtor::senderName = "ILIAS ERP" | 
Definition at line 55 of file class.ilERPDebtor.php.
Referenced by sendInvoice(), and ilERPDebtor_none\sendInvoice().
| const ilERPDebtor::website = "http://www.ilias.dk" | 
Definition at line 52 of file class.ilERPDebtor.php.
Referenced by setTestValues().