Elgg  Version 2.3
Namespaces | Functions
upgrade.php File Reference

Go to the source code of this file.

Namespaces

 Elgg\Core
 Activate a plugin or plugins.
 

Functions

 elgg_set_processed_upgrades (array $processed_upgrades)
 Saves the processed upgrades to a dataset. More...
 
 elgg_get_upgrade_file_version ($filename)
 Returns the version of the upgrade filename. More...
 
 elgg_get_upgrade_files ($upgrade_path=null)
 Returns a list of upgrade files relative to the $upgrade_path dir. More...
 
 _elgg_upgrade_unlock ()
 Unlocks upgrade. More...
 

Function Documentation

_elgg_upgrade_unlock ( )

Unlocks upgrade.

private

Definition at line 89 of file upgrade.php.

elgg_get_upgrade_file_version (   $filename)

Returns the version of the upgrade filename.

Parameters
string$filenameThe upgrade filename. No full path.
Returns
int|false
Since
1.8.0

Definition at line 33 of file upgrade.php.

elgg_get_upgrade_files (   $upgrade_path = null)

Returns a list of upgrade files relative to the $upgrade_path dir.

Parameters
string$upgrade_pathThe directory that has upgrade scripts
Returns
array|false private

Definition at line 52 of file upgrade.php.

elgg_set_processed_upgrades ( array  $processed_upgrades)

Saves the processed upgrades to a dataset.

Parameters
array$processed_upgradesAn array of processed upgrade filenames (not the path, just the file)
Returns
bool private

Definition at line 20 of file upgrade.php.