function PaymentMethod::__construct in Payment 7
Overrides PaymentCommon::__construct
1 method overrides PaymentMethod::__construct()
File
- ./
payment.classes.inc, line 569 - The API and related functions for executing and managing payments.
Class
- PaymentMethod
- Payment method configuration.
Code
function __construct(array $properties = array()) {
global $user;
parent::__construct($properties);
if (is_null($this->uid)) {
// Cast non-string scalars to their original types, because some backends
// store/return all variables as strings.
$this->uid = (int) $user->uid;
}
}