Elgg
Version 2.3
|
Public Member Functions | |
__construct ($guid) | |
Find an entity's data dir. More... | |
getPath () | |
Construct a file path matrix for an entity. More... | |
__toString () | |
String casting magic method. More... | |
Public Attributes | |
const | BUCKET_SIZE = 5000 |
Number of entries per matrix dir. More... | |
Definition at line 16 of file EntityDirLocator.php.
Elgg\EntityDirLocator::__construct | ( | $guid | ) |
Find an entity's data dir.
int | $guid | GUID of the entity. |
Definition at line 30 of file EntityDirLocator.php.
Elgg\EntityDirLocator::__toString | ( | ) |
Elgg\EntityDirLocator::getPath | ( | ) |
Construct a file path matrix for an entity.
As of 1.9.0 matrixes are based on GUIDs and separated into dirs of 5000 entries with the dir name being the lower bound for the GUID.
Definition at line 48 of file EntityDirLocator.php.
const Elgg\EntityDirLocator::BUCKET_SIZE = 5000 |
Number of entries per matrix dir.
DO NOT CHANGE!
Definition at line 21 of file EntityDirLocator.php.