Elgg
Version 1.9
|
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 15 of file EntityDirLocator.php.
Elgg_EntityDirLocator::__construct | ( | $guid | ) |
Find an entity's data dir.
int | $guid | GUID of the entity. |
InvalidArgumentException |
Definition at line 29 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 47 of file EntityDirLocator.php.
const Elgg_EntityDirLocator::BUCKET_SIZE = 5000 |
Number of entries per matrix dir.
DO NOT CHANGE!
Definition at line 20 of file EntityDirLocator.php.