You are here

public function backup_migrate_files_destination_archivesource::_ini_to_array in Backup and Migrate 7.3

Same name and namespace in other branches
  1. 8.3 includes/sources.archivesource.inc \backup_migrate_files_destination_archivesource::_ini_to_array()
  2. 6.3 includes/sources.archivesource.inc \backup_migrate_files_destination_archivesource::_ini_to_array()

Converts an associated array to an ini format string.

Only allows 2 levels of depth to allow parse_ini_file to parse.

1 call to backup_migrate_files_destination_archivesource::_ini_to_array()
backup_migrate_files_destination_archivesource::read_manifest in includes/sources.archivesource.inc
Generates a manifest file.

File

includes/sources.archivesource.inc, line 310
A destination type for saving locally to the server.

Class

backup_migrate_files_destination_archivesource
A destination type for saving locally to the server.

Code

public function _ini_to_array($path) {
  return parse_ini_file($path, TRUE);
}