You are here

function backup_migrate_item::__construct in Backup and Migrate 8.3

Same name and namespace in other branches
  1. 8.2 includes/crud.inc \backup_migrate_item::__construct()
  2. 6.3 includes/crud.inc \backup_migrate_item::__construct()
  3. 6.2 includes/crud.inc \backup_migrate_item::__construct()
  4. 7.3 includes/crud.inc \backup_migrate_item::__construct()
  5. 7.2 includes/crud.inc \backup_migrate_item::__construct()

Constructor, set the basic info pulled from the db or generated programatically.

4 calls to backup_migrate_item::__construct()
backup_migrate_destination_browser_download::__construct in includes/destinations.browser.inc
Constructor, set the basic info pulled from the db or generated programatically.
backup_migrate_destination_browser_upload::__construct in includes/destinations.browser.inc
Constructor, set the basic info pulled from the db or generated programatically.
backup_migrate_destination_files_manual::__construct in includes/destinations.file.inc
Constructor, set the basic info pulled from the db or generated programatically.
backup_migrate_destination_files_scheduled::__construct in includes/destinations.file.inc
Constructor, set the basic info pulled from the db or generated programatically.
4 methods override backup_migrate_item::__construct()
backup_migrate_destination_browser_download::__construct in includes/destinations.browser.inc
Constructor, set the basic info pulled from the db or generated programatically.
backup_migrate_destination_browser_upload::__construct in includes/destinations.browser.inc
Constructor, set the basic info pulled from the db or generated programatically.
backup_migrate_destination_files_manual::__construct in includes/destinations.file.inc
Constructor, set the basic info pulled from the db or generated programatically.
backup_migrate_destination_files_scheduled::__construct in includes/destinations.file.inc
Constructor, set the basic info pulled from the db or generated programatically.

File

includes/crud.inc, line 432
CRUD functions for backup and migrate types (schedules, profiles etc.).

Class

backup_migrate_item
A base class for items which can be stored in the database, listed, edited, deleted etc.

Code

function __construct($params = array()) {
  $this
    ->from_array($this
    ->_merge_defaults((array) $params, (array) $this
    ->get_default_values()));
}