ILIAS
Release_4_1_x_branch Revision 61804
|
Public Member Functions | |
__construct () | |
getSettings ($erps_id=0) | |
Return e-conomic settings as an array. | |
connect () | |
disconnect () | |
getName () | |
setSettings ($a) | |
Sets e-conomic settings. | |
looksValid () | |
Returns true if the e-conomic settings looks valid to the interface Done without testing conection etc. | |
loadSettings ($erps_id=0) | |
Called from constructor to fetch settings from database. | |
Public Member Functions inherited from ilERP | |
saveSettings ($settings) | |
setActive ($erp_system=0, $erp_settings=0) | |
Sets a specific configuration active and disable all other ERPs. | |
getERPconstants ($erp_system=0) | |
Get some ERP system specific variables, stored in payment_erp. |
Static Public Member Functions | |
static | _getInstance () |
Static method to get the singleton instance. | |
Static Public Member Functions inherited from ilERP | |
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 | |
$client | |
const | wsdl = "https://www.e-conomic.com/secure/api1/EconomicWebservice.asmx?WSDL" |
const | name = "E-conomic" |
Data Fields inherited from ilERP | |
const | preview_pre = "invoice_" |
const | preview_ext = ".pdf" |
Private Member Functions | |
setAgreement ($v) | |
Set the e-conomic agreement number private. | |
setProduct ($v) | |
setTerms ($v) | |
setLayout ($v) | |
setCode ($v) |
Private Attributes | |
$agreement | |
$product | |
$terms | |
$layout | |
$code |
Static Private Attributes | |
static | $instance = null |
static | $erp_id = ERP_ECONOMIC |
Additional Inherited Members | |
Protected Member Functions inherited from ilERP | |
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 inherited from ilERP | |
$username | |
$password | |
$use_ean | |
$save_copy |
Definition at line 35 of file class.ilERP_eco.php.
ilERP_eco::__construct | ( | ) |
Definition at line 51 of file class.ilERP_eco.php.
References loadSettings().
|
static |
Static method to get the singleton instance.
public
Definition at line 65 of file class.ilERP_eco.php.
References $instance.
Referenced by ilERPDebtor_eco\__construct().
ilERP_eco::connect | ( | ) |
Reimplemented from ilERP.
Definition at line 96 of file class.ilERP_eco.php.
ilERP_eco::disconnect | ( | ) |
Reimplemented from ilERP.
Definition at line 115 of file class.ilERP_eco.php.
ilERP_eco::getName | ( | ) |
Reimplemented from ilERP.
Definition at line 121 of file class.ilERP_eco.php.
ilERP_eco::getSettings | ( | $erps_id = 0 | ) |
Return e-conomic settings as an array.
public
Reimplemented from ilERP.
Definition at line 82 of file class.ilERP_eco.php.
References $agreement, $code, ilERP\$erps_id, $layout, $product, $ret, $terms, and loadSettings().
Referenced by looksValid().
ilERP_eco::loadSettings | ( | $erps_id = 0 | ) |
Called from constructor to fetch settings from database.
private
Reimplemented from ilERP.
Definition at line 193 of file class.ilERP_eco.php.
References $data, ilERP\$erps_id, $ilDB, $res, $result, DB_FETCHMODE_OBJECT, ERP_ECONOMIC, setAgreement(), setCode(), setLayout(), ilERP\setPassword(), setProduct(), setTerms(), and ilERP\setUsername().
Referenced by __construct(), and getSettings().
ilERP_eco::looksValid | ( | ) |
Returns true if the e-conomic settings looks valid to the interface Done without testing conection etc.
public
Reimplemented from ilERP.
Definition at line 176 of file class.ilERP_eco.php.
References $ok, and getSettings().
|
private |
Set the e-conomic agreement number private.
Definition at line 131 of file class.ilERP_eco.php.
Referenced by loadSettings(), and setSettings().
|
private |
Definition at line 147 of file class.ilERP_eco.php.
Referenced by loadSettings(), and setSettings().
|
private |
Definition at line 143 of file class.ilERP_eco.php.
Referenced by loadSettings(), and setSettings().
|
private |
Definition at line 135 of file class.ilERP_eco.php.
Referenced by loadSettings(), and setSettings().
ilERP_eco::setSettings | ( | $a | ) |
Sets e-conomic settings.
public
Reimplemented from ilERP.
Definition at line 159 of file class.ilERP_eco.php.
References setAgreement(), setCode(), setLayout(), setProduct(), and setTerms().
|
private |
Definition at line 139 of file class.ilERP_eco.php.
Referenced by loadSettings(), and setSettings().
|
private |
Definition at line 37 of file class.ilERP_eco.php.
Referenced by getSettings().
ilERP_eco::$client |
Definition at line 45 of file class.ilERP_eco.php.
|
private |
Definition at line 41 of file class.ilERP_eco.php.
Referenced by getSettings().
|
staticprivate |
Definition at line 48 of file class.ilERP_eco.php.
|
staticprivate |
Definition at line 43 of file class.ilERP_eco.php.
Referenced by _getInstance().
|
private |
Definition at line 40 of file class.ilERP_eco.php.
Referenced by getSettings().
|
private |
Definition at line 38 of file class.ilERP_eco.php.
Referenced by getSettings().
|
private |
Definition at line 39 of file class.ilERP_eco.php.
Referenced by getSettings().
const ilERP_eco::name = "E-conomic" |
Definition at line 49 of file class.ilERP_eco.php.
const ilERP_eco::wsdl = "https://www.e-conomic.com/secure/api1/EconomicWebservice.asmx?WSDL" |
Definition at line 47 of file class.ilERP_eco.php.