function create_db() { $this->db = produce_db(); }
function __construct() { $this->db = produce_db(); }
function __construct() { $this->db = produce_db(); $this->Mailer = new MailTemplated(); $this->Lister = new ClientsList(); }
public function __construct() { $this->init_crypt(); $this->db = produce_db(); }
function create_objects() { $this->Dates = new DateTimesRange(); $this->db = produce_db(); }
function restore_connection() { $this->set_db(produce_db()); }