public function __construct(MySQLDatabase $db, $name, $identifier) { parent::__construct($db->getCredentials()); $this->tableName = $db->getMainTable(); $this->name = $name; $this->identifier = $identifier; }
public function __construct(MySQLDatabase $database, $name, $hookId) { parent::__construct($database->getCredentials()); $this->tableName = $database->getMainTable(); $this->name = $name; $this->hookId = $hookId; }
public function __construct(MySQLDatabase $db, AccountInfo $info, $overwrite = true) { parent::__construct($db->getCredentials()); $this->info = $info; $this->tableName = $db->getMainTable(); $this->overwrite = $overwrite; }
public function __construct(MySQLDatabase $db, $oldName, $newName, $hookId) { parent::__construct($db->getCredentials()); $this->tableName = $db->getMainTable(); $this->oldName = strtolower($oldName); $this->newName = strtolower($newName); $this->hookId = $hookId; }
public function __construct(MySQLDatabase $database, $ip, $limit, $time, $identifier) { parent::__construct($database->getCredentials()); $this->tableName = $database->getMainTable(); $this->ip = $ip; $this->limit = $limit; $this->since = time() - $time; $this->identifier = $identifier; }