Public Member Functions | Data Fields

ilPayMethods Class Reference

Public Member Functions

 ilPayMethods ()
 _enabled ($a_type)
 check if a specific pay_method is activated public
 _disableAll ()
 _enable ($a_type)

Data Fields

 $ilias

Detailed Description

Definition at line 24 of file class.ilPayMethods.php.


Member Function Documentation

ilPayMethods::_disableAll (  ) 

Definition at line 49 of file class.ilPayMethods.php.

References $ilias.

Referenced by ilObjPaymentSettingsGUI::savePayMethodsObject().

        {
                global $ilias;

                $ilias->deleteSetting('pm_bill');
                $ilias->deleteSetting('pm_bmf');
                $ilias->deleteSetting('pm_paypal');
        }

Here is the caller graph for this function:

ilPayMethods::_enable ( a_type  ) 

Definition at line 58 of file class.ilPayMethods.php.

References $ilias.

Referenced by ilObjPaymentSettingsGUI::savePayMethodsObject().

        {
                global $ilias;

                $ilias->setSetting($a_type,1);

                return true;
        }

Here is the caller graph for this function:

ilPayMethods::_enabled ( a_type  ) 

check if a specific pay_method is activated public

Parameters:
string keyword (bill,bmf,paypal,(epay))
Returns:
bool

Definition at line 42 of file class.ilPayMethods.php.

References $ilias.

Referenced by ilPaymentObjectGUI::__showPayMethodSelector(), ilObjPaymentSettingsGUI::payMethodsObject(), ilObjPaymentSettingsGUI::savePayMethodsObject(), and ilPaymentShoppingCartGUI::showItems().

        {
                global $ilias;

                return $ilias->getSetting($a_type) ? true : false;
        }

Here is the caller graph for this function:

ilPayMethods::ilPayMethods (  ) 

Definition at line 28 of file class.ilPayMethods.php.

References $ilias.

        {
                global $ilias;

                $this->ilias =& $ilias;
        }


Field Documentation

ilPayMethods::$ilias

Definition at line 26 of file class.ilPayMethods.php.

Referenced by _disableAll(), _enable(), _enabled(), and ilPayMethods().


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