ILIAS
Release_4_1_x_branch Revision 61804
|
Public Member Functions | |
getName () | |
loadSettings ($erps_id=0) | |
looksValid () | |
connect () | |
disconnect () | |
setSettings ($a) | |
Set settings posted by some form. | |
saveSettings ($settings) | |
setActive ($erp_system=0, $erp_settings=0) | |
Sets a specific configuration active and disable all other ERPs. | |
getSettings ($elvis_is_alive=0) | |
Return all relevant settings for a configuration. | |
getERPconstants ($erp_system=0) | |
Get some ERP system specific variables, stored in payment_erp. |
Static Public Member Functions | |
static | getPreviewFile () |
static | getPreviewUrl () |
static | getPreviewLink () |
static | getSaveDirectory () |
static | preview_exists () |
static | preview_delete () |
static | getAllERPs () |
Get the list of ILIAS supported ERPs. | |
static | getActive () |
Get information about what ERP is activated. |
Data Fields | |
const | preview_pre = "invoice_" |
const | preview_ext = ".pdf" |
Protected Member Functions | |
setUsername ($v) | |
Set the username used to login to ERP. | |
setPassword ($v) | |
Set the password used in the ERP. | |
setSaveCopy ($v) | |
Set the directory for saving invoices. | |
setUseEAN ($v) |
Protected Attributes | |
$username | |
$password | |
$use_ean | |
$save_copy |
Static Private Member Functions | |
static | _getFilename () |
Get filename for preview invoice invoice_[client_id].pdf. |
Private Attributes | |
$erps_id = 0 |
Static Private Attributes | |
static | $erp_id = ERP_NONE |
Definition at line 36 of file class.ilERP.php.
|
staticprivate |
Get filename for preview invoice invoice_[client_id].pdf.
Definition at line 63 of file class.ilERP.php.
References preview_ext.
Referenced by getPreviewFile(), getPreviewLink(), and getPreviewUrl().
|
abstract |
Reimplemented in ilERP_eco, and ilERP_none.
|
abstract |
Reimplemented in ilERP_eco, and ilERP_none.
|
static |
Get information about what ERP is activated.
Definition at line 208 of file class.ilERP.php.
References $ilDB, $row, and MDB2_FETCHMODE_ASSOC.
Referenced by ilPurchase\__construct(), ilObjPaymentSettingsGUI\getERPform(), and ilObjPaymentSettingsGUI\testERPSettingsObject().
|
static |
Get the list of ILIAS supported ERPs.
Definition at line 103 of file class.ilERP.php.
References $ilDB, $res, $result, and MDB2_FETCHMODE_ASSOC.
Referenced by ilObjPaymentSettingsGUI\getERPform().
ilERP::getERPconstants | ( | $erp_system = 0 | ) |
Get some ERP system specific variables, stored in payment_erp.
Definition at line 246 of file class.ilERP.php.
References $ilDB, $res, $result, and MDB2_FETCHMODE_ASSOC.
|
abstract |
Reimplemented in ilERP_eco, and ilERP_none.
|
static |
Definition at line 69 of file class.ilERP.php.
References _getFilename().
Referenced by ilERPDebtor\saveInvoice(), and ilERPDebtor_none\saveInvoice().
|
static |
Definition at line 80 of file class.ilERP.php.
References _getFilename().
|
static |
Definition at line 75 of file class.ilERP.php.
References _getFilename().
Referenced by ilObjPaymentSettingsGUI\getERPform().
|
static |
Definition at line 84 of file class.ilERP.php.
Referenced by ilObjPaymentSettingsGUI\getERPform(), ilERPDebtor\saveInvoice(), and ilERPDebtor_none\saveInvoice().
ilERP::getSettings | ( | $elvis_is_alive = 0 | ) |
Return all relevant settings for a configuration.
This includes ERP-system constants, general setttings (i.e. username) and subclasses should merge their data into the output.
Reimplemented in ilERP_eco, and ilERP_none.
Definition at line 228 of file class.ilERP.php.
References $password, $save_copy, $use_ean, and $username.
|
abstract |
Reimplemented in ilERP_eco, and ilERP_none.
|
abstract |
Reimplemented in ilERP_eco, and ilERP_none.
|
static |
Definition at line 94 of file class.ilERP.php.
Referenced by ilObjPaymentSettingsGUI\delERPpreviewObject().
|
static |
Definition at line 90 of file class.ilERP.php.
Referenced by ilObjPaymentSettingsGUI\delERPpreviewObject(), and ilObjPaymentSettingsGUI\getERPform().
ilERP::saveSettings | ( | $settings | ) |
Definition at line 123 of file class.ilERP.php.
References $ilDB.
ilERP::setActive | ( | $erp_system = 0 , |
|
$erp_settings = 0 |
|||
) |
Sets a specific configuration active and disable all other ERPs.
int | $erp_system | predefined constant specifying the ERP-system |
int | $erp_settings | unsupported currently |
Definition at line 197 of file class.ilERP.php.
References $ilDB.
|
protected |
Set the password used in the ERP.
string | $v | ERP password |
Definition at line 171 of file class.ilERP.php.
Referenced by ilERP_eco\loadSettings(), and setSettings().
|
protected |
Set the directory for saving invoices.
string | $v | directory |
Definition at line 180 of file class.ilERP.php.
Referenced by setSettings().
ilERP::setSettings | ( | $a | ) |
Set settings posted by some form.
Reimplemented in ilERP_eco, and ilERP_none.
Definition at line 115 of file class.ilERP.php.
References setPassword(), setSaveCopy(), setUseEAN(), and setUsername().
|
protected |
Definition at line 185 of file class.ilERP.php.
Referenced by setSettings().
|
protected |
Set the username used to login to ERP.
string | $v | ERP login name |
Definition at line 162 of file class.ilERP.php.
Referenced by ilERP_eco\loadSettings(), and setSettings().
|
staticprivate |
Definition at line 44 of file class.ilERP.php.
|
private |
Definition at line 43 of file class.ilERP.php.
Referenced by ilERP_eco\getSettings(), and ilERP_eco\loadSettings().
|
protected |
Definition at line 39 of file class.ilERP.php.
Referenced by getSettings().
|
protected |
Definition at line 41 of file class.ilERP.php.
Referenced by getSettings().
|
protected |
Definition at line 40 of file class.ilERP.php.
Referenced by getSettings().
|
protected |
Definition at line 38 of file class.ilERP.php.
Referenced by getSettings().
const ilERP::preview_ext = ".pdf" |
Definition at line 47 of file class.ilERP.php.
Referenced by _getFilename().
const ilERP::preview_pre = "invoice_" |
Definition at line 46 of file class.ilERP.php.