| [ Index ] |
|
Code source de Mantis 1.1.0rc3 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 402 lignes (11 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
Period:: (26 méthodes):
Period()
get_sql_clause()
get_text_clause()
a_week()
this_week()
last_week()
week_to_date()
a_month()
this_month()
last_month()
month_to_date()
a_quarter()
this_quarter()
last_quarter()
quarter_to_date()
a_year()
this_year()
year_to_date()
last_year()
get_start_timestamp()
get_end_timestamp()
get_start_formatted()
get_end_formatted()
get_elapsed_days()
period_selector()
set_period_from_selector()
| Period() X-Ref |
| Constructor |
| get_sql_clause() X-Ref |
| return a matching SQL clause create an SQL clause that matches the set date. return: string SQL clause |
| get_text_clause() X-Ref |
| return a matching text clause create an text clause that matches the set date. return: string SQL clause |
| a_week( $p_when, $p_weeks = 1 ) X-Ref |
| set dates for a week param: string date string to expand to a week (Sun to Sat) |
| this_week( ) X-Ref |
| set dates for this week |
| last_week( $p_weeks = 1) X-Ref |
| set dates for last week |
| week_to_date( ) X-Ref |
| set dates for this week to date |
| a_month( $p_when ) X-Ref |
| set dates for a month param: string date string to expand to a month |
| this_month( ) X-Ref |
| set dates for this month |
| last_month( ) X-Ref |
| set dates for last month |
| month_to_date( ) X-Ref |
| set dates for this month to date |
| a_quarter( $p_when ) X-Ref |
| set dates for a quarter param: string date string to expand to a quarter |
| this_quarter( ) X-Ref |
| set dates for this quarter |
| last_quarter( ) X-Ref |
| set dates for last month |
| quarter_to_date( ) X-Ref |
| set dates for this quarter to date |
| a_year( $p_when ) X-Ref |
| set dates for a year param: string date string to expand to a year |
| this_year( ) X-Ref |
| set dates for this year |
| year_to_date( ) X-Ref |
| set dates for current year, ending today |
| last_year( ) X-Ref |
| set dates for last year |
| get_start_timestamp( ) X-Ref |
| get start date in unix timestamp format |
| get_end_timestamp( ) X-Ref |
| get end date in unix timestamp format |
| get_start_formatted( ) X-Ref |
| get formatted start date |
| get_end_formatted( ) X-Ref |
| get formatted end date |
| get_elapsed_days( ) X-Ref |
| get number of days in interval |
| period_selector( $p_control_name ) X-Ref |
| print a period selector |
| set_period_from_selector( $p_control_name, $p_start_field='start_date', $p_end_field='end_date' ) X-Ref |
| set date based on period selector |
| Généré le : Thu Nov 29 09:42:17 2007 | par Balluche grâce à PHPXref 0.7 |
|