You are here

function Gardener::__construct in Backup and migrate prune 7

Same name and namespace in other branches
  1. 7.2 class/Gardener.php \Gardener::__construct()

File

class/Gardener.php, line 54
Gardener class implementation file

Class

Gardener
Gardener class implementation

Code

function __construct($gardener_id = NULL) {
  if (!is_null($gardener_id)) {
    $this
      ->load($gardener_id);
    $this->date_reference = 'now';
  }
}