You are here

function pay_form::user_register in Pay 7

Same name and namespace in other branches
  1. 6 includes/handlers/pay_form.inc \pay_form::user_register()
3 calls to pay_form::user_register()
pay_form::form in includes/handlers/pay_form.inc
pay_form::form_submit in includes/handlers/pay_form.inc
pay_form::form_validate in includes/handlers/pay_form.inc

File

includes/handlers/pay_form.inc, line 110
The base class for payment activities. All payment form classes should extend this.

Class

pay_form
@file The base class for payment activities. All payment form classes should extend this.

Code

function user_register() {
  global $user;
  if ($user->uid) {
    return FALSE;
  }
  if ($this->user_register == 'none') {
    return FALSE;
  }
  return $this->user_register;
}