You are here

function pay::enable in Pay 7

Same name and namespace in other branches
  1. 6 includes/handlers/pay.inc \pay::enable()

File

includes/handlers/pay.inc, line 145
The base class for the Payment API.

Class

pay
@file The base class for the Payment API.

Code

function enable() {
  $this
    ->set_status(TRUE);
  $this
    ->save();
}