ILIAS  eassessment Revision 61809
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilERP_none Class Reference
+ Inheritance diagram for ilERP_none:
+ Collaboration diagram for ilERP_none:

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 erp_id = ERP_NONE
const name = "none"
- Data Fields inherited from ilERP
const preview_pre = "invoice_"
const preview_ext = ".pdf"

Private Attributes

 $agreement
 $product
 $terms
 $layout
 $code

Static Private Attributes

static $instance = null

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

Detailed Description

Author
Jesper Godvad jespe.nosp@m.r@il.nosp@m.ias.d.nosp@m.k
Nicolai Lundgaard nicol.nosp@m.ai@i.nosp@m.lias..nosp@m.dk
Version
$Id$

Definition at line 35 of file class.ilERP_none.php.

Constructor & Destructor Documentation

ilERP_none::__construct ( )

Definition at line 50 of file class.ilERP_none.php.

References loadSettings().

{
$this->loadSettings(0);
}

+ Here is the call graph for this function:

Member Function Documentation

static ilERP_none::_getInstance ( )
static

Static method to get the singleton instance.

public

Returns
object $instance Singular E-conomic instance

Definition at line 63 of file class.ilERP_none.php.

References $instance.

{
if (isset(self::$instance) and self::$instance)
{
return self::$instance;
}
return self::$instance = new ilERP_eco();
}
ilERP_none::connect ( )

Reimplemented from ilERP.

Definition at line 86 of file class.ilERP_none.php.

{
$this->connection_ok = true;
}
ilERP_none::disconnect ( )

Reimplemented from ilERP.

Definition at line 90 of file class.ilERP_none.php.

{
$this->connection_ok = false;
}
ilERP_none::getName ( )

Reimplemented from ilERP.

Definition at line 95 of file class.ilERP_none.php.

{
return "none";
}
ilERP_none::getSettings (   $erps_id = 0)

Return e-conomic settings as an array.

public

Returns
array

Reimplemented from ilERP.

Definition at line 80 of file class.ilERP_none.php.

{
}
ilERP_none::loadSettings (   $erps_id = 0)

Called from constructor to fetch settings from database.

private

Reimplemented from ilERP.

Definition at line 132 of file class.ilERP_none.php.

Referenced by __construct().

{
}

+ Here is the caller graph for this function:

ilERP_none::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 120 of file class.ilERP_none.php.

{
return true;
}
ilERP_none::setSettings (   $a)

Sets e-conomic settings.

public

Reimplemented from ilERP.

Definition at line 109 of file class.ilERP_none.php.

Field Documentation

ilERP_none::$agreement
private

Definition at line 37 of file class.ilERP_none.php.

ilERP_none::$client

Definition at line 45 of file class.ilERP_none.php.

ilERP_none::$code
private

Definition at line 41 of file class.ilERP_none.php.

ilERP_none::$instance = null
staticprivate

Definition at line 43 of file class.ilERP_none.php.

Referenced by _getInstance().

ilERP_none::$layout
private

Definition at line 40 of file class.ilERP_none.php.

ilERP_none::$product
private

Definition at line 38 of file class.ilERP_none.php.

ilERP_none::$terms
private

Definition at line 39 of file class.ilERP_none.php.

const ilERP_none::erp_id = ERP_NONE

Definition at line 47 of file class.ilERP_none.php.

const ilERP_none::name = "none"

Definition at line 48 of file class.ilERP_none.php.


The documentation for this class was generated from the following file: