function pay::set_uid in Pay 7
Same name and namespace in other branches
- 6 includes/handlers/pay.inc \pay::set_uid()
File
- includes/
handlers/ pay.inc, line 111 - The base class for the Payment API.
Class
- pay
- @file The base class for the Payment API.
Code
function set_uid($val = NULL) {
if (!$val) {
global $user;
$val = $user->uid;
}
$this->uid = (int) $val;
}