|
eZ Publish
[trunk]
|
Public Member Functions | |
| collectProductCollections ($maxTime=false, $sleepTime=false, $limit=false) | |
Static Public Member Functions | |
| collectBaskets ($maxTime=false, $sleepTime=false, $limit=false) | |
| collectProductCollectionItemOptions ($maxTime=false, $sleepTime=false, $limit=false) | |
| collectProductCollectionItems ($maxTime=false, $sleepTime=false, $limit=false) | |
Public Attributes | |
| const | ITEM_LIMIT = 3000 |
Definition at line 32 of file ezdbgarbagecollector.php.
| eZDBGarbageCollector::collectBaskets | ( | $ | maxTime = false, |
| $ | sleepTime = false, |
||
| $ | limit = false |
||
| ) | [static] |
Removes all baskets which are missing a session entry. This usually means the basket was not cleaned up when the session was removed.
| $maxTime | The maximum number of seconds the collector should run. If set to false or true it will continue until all garbage is collected, false means to try the fastest way possible (may use lots of resources). |
| $sleepTime | Controls how many seconds it will sleep between each batch of cleanup, setting it to false means that it should never sleep. |
| $limit | Controls how many items are cleaned in one batch operation, a value of false means to use default value. |
Definition at line 60 of file ezdbgarbagecollector.php.
| eZDBGarbageCollector::collectProductCollectionItemOptions | ( | $ | maxTime = false, |
| $ | sleepTime = false, |
||
| $ | limit = false |
||
| ) | [static] |
Removes all product collection item options which are missing a product collection item.
| $maxTime | The maximum number of seconds the collector should run. If set to false or true it will continue until all garbage is collected, false means to try the fastest way possible (may use lots of resources). |
| $sleepTime | Controls how many seconds it will sleep between each batch of cleanup, setting it to false means that it should never sleep. |
| $limit | Controls how many items are cleaned in one batch operation, a value of false means to use default value. |
Definition at line 353 of file ezdbgarbagecollector.php.
| eZDBGarbageCollector::collectProductCollectionItems | ( | $ | maxTime = false, |
| $ | sleepTime = false, |
||
| $ | limit = false |
||
| ) | [static] |
Removes all product collection items which are missing a product collection.
| $maxTime | The maximum number of seconds the collector should run. If set to false or true it will continue until all garbage is collected, false means to try the fastest way possible (may use lots of resources). |
| $sleepTime | Controls how many seconds it will sleep between each batch of cleanup, setting it to false means that it should never sleep. |
| $limit | Controls how many items are cleaned in one batch operation, a value of false means to use default value. |
Definition at line 268 of file ezdbgarbagecollector.php.
| eZDBGarbageCollector::collectProductCollections | ( | $ | maxTime = false, |
| $ | sleepTime = false, |
||
| $ | limit = false |
||
| ) |
Removes entries from ezproductcollection which is missing relations to other tables.
| $maxTime | The maximum number of seconds the collector should run. If set to false or true it will continue until all garbage is collected, false means to try the fastest way possible (may use lots of resources). |
| $sleepTime | Controls how many seconds it will sleep between each batch of cleanup, setting it to false means that it should never sleep. |
| $limit | Controls how many items are cleaned in one batch operation, a value of false means to use default value. |
Definition at line 153 of file ezdbgarbagecollector.php.
| const eZDBGarbageCollector::ITEM_LIMIT = 3000 |
Controls the default value for how many items are cleaned in one batch operation.
Definition at line 37 of file ezdbgarbagecollector.php.
Referenced by collectBaskets(), collectProductCollectionItemOptions(), collectProductCollectionItems(), and collectProductCollections().