System
class System
Class System
Methods
CRM_Core_Payment|NULL
getByProcessor(array $processor, bool $force = FALSE)
Starting from the processor as an array retrieve the processor as an object.
CRM_Core_Payment|NULL
getById(int $id)
Get payment processor by it's ID.
CRM_Core_Payment|NULL
getByName(string $name, bool $is_test)
No description
flushProcessors()
Flush processors from static cache.
CRM_Core_Payment|NULL
getByClass(string $className)
Sometimes we want to instantiate a processor object when no valid instance exists (eg. when uninstalling a processor).
Details
at line 24
static System
singleton()
at line 45
CRM_Core_Payment|NULL
getByProcessor(array $processor, bool $force = FALSE)
Starting from the processor as an array retrieve the processor as an object.
If there is no valid configuration it will not be retrieved.
at line 83
CRM_Core_Payment|NULL
getById(int $id)
Get payment processor by it's ID.
at line 98
CRM_Core_Payment|NULL
getByName(string $name, bool $is_test)
at line 108
flushProcessors()
Flush processors from static cache.
This is particularly used for tests.
at line 126
CRM_Core_Payment|NULL
getByClass(string $className)
Sometimes we want to instantiate a processor object when no valid instance exists (eg. when uninstalling a processor).
This function does not load instance specific details for the processor.