_91Carriage\BackupToken
This namespaced class is kept to provide for migration of data across tables.
DEPRECATION WARNING: Ensure you use _2fa\BackupToken for any extensions of the modules code.
This class will be removed at some point in the future (likely any 2.x release).
Synopsis
class BackupToken
extends DataObject
{
- // members
- private static array $db = ;
- private static array $has_one = ;
- private static array $summary_fields = ;
- private static string $singular_name = 'OTP Backup Token';
- private static boolean $single_use = true;
- // methods
- public void requireDefaultRecords()
- public void getTitle()
Hierarchy
Extends
- DataObject
Members
private
- $db
- $has_one
- $single_use
- $singular_name
- $summary_fields
Methods
public
- getTitle()
- requireDefaultRecords() — Migrates the old namespace to new.