DeleteByTime
Description and parameters
bool CSaleAuxiliary::DeleteByTime( int periodLength, sring periodType );
Method deletes all information on temporary access older than specified time. Non-static method.
Call parameters
Parameter | Description |
---|---|
periodLength | Period length during which user has access to a resource. |
periodType | Type of time period during which user has access to a resource. Permissible values:
|
Returned values
Returns true on success and false otherwise.
Examples
<? // Delete all records older than 2 days CSaleAuxiliary::DeleteByTime(2, "D"); ?>
© «Bitrix24», 2001-2024