bool CSaleAuxiliary::DeleteByTime( int periodLength, sring periodType );
The method DeleteByTime deletes all information about the expired temporary access.
Parameter | Description |
---|---|
periodLength | The period length, within which the user has the access to the resource. |
periodType | The type of the period length. Possible values:
|
The method returns true on success, or false otherwise.
<? // Delete all records older than 2 days CSaleAuxiliary::DeleteByTime(2, "D"); ?>
© 2001-2005 Bitrix | Bitrix Site Manager - Content Management & Portal Solutions |