| [ Index ] |
PHP Cross Reference of Drupal 6 (gatewave) |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 130 lines (4 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| project_usage_gmgetdate($timestamp = NULL) X-Ref |
| getdate() with timezone adjustment. PHP's getdate() is affected by the server's timezone. We need to cancel it out so everything is GMT. param: $timestamp return: |
| project_usage_daily_timestamp($time = NULL, $days_ago = 0) X-Ref |
| Compute a timestamp for the beginning of a day N days ago. param: $time param: $days_ago return: |
| project_usage_weekly_timestamp($time = NULL, $weeks_ago = 0) X-Ref |
| Compute a timestamp for the beginning of a week N weeks ago. param: $time param: $weeks_ago return: |
| project_usage_get_weeks_since($timestamp) X-Ref |
| Build an array of timestamps for the beginning (midnight Sunday) for each week since a given timestamp. param: $timestamp return: |
| project_usage_get_active_weeks($reset = FALSE) X-Ref |
| Return an array of the most recent weeks for which we have data. return: |
| project_usage_get_current_active_week() X-Ref |
| No description |
| project_usage_cache_time() X-Ref |
| Sets the expiry timestamp for cached project usage pages. Default is 24 hours. return: The UNIX timestamp to expire the page at. |
| Generated: Thu Mar 24 11:18:33 2011 | Cross-referenced by PHPXref 0.7 |