CoreAPI
[ class tree: CoreAPI ] [ index: CoreAPI ] [ all elements ]

Procedural File: date_api.php

Source Location: /core/date_api.php



Page Details:



Tags:

copyright:  Copyright (C) 2002 - 2010 MantisBT Team - mantisbt-dev@lists.sourceforge.net
copyright:  Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org
link:  http://www.mantisbt.org








date_finish_calendar [line 294]

null date_finish_calendar( string $p_field_name, string $p_button_name)

creates javascript calendar objects, point to input element ($p_field_name) that diaplays date, and connects it with calendar button ($p_button_name) created with date_print_calendar.



Tags:

todo:  (thraxisp) this may want a browser check ( MS IE >= 5.0, Mozilla >= 1.0, Safari >=1.2, ...)
access:  public


Parameters

string   $p_field_name  
string   $p_button_name  
[ Top ]



date_get_null [line 48]

int date_get_null( )

gets null date



Tags:

access:  public


[ Top ]



date_is_null [line 39]

bool date_is_null( int $p_date)

checks if date is null



Tags:

access:  public


Parameters

int   $p_date  
[ Top ]



date_print_calendar [line 268]

null date_print_calendar( [string $p_button_name = 'trigger'])

prints calendar icon and adds required javascript and css files if they haven't already been imported.

button_name is name of button that will display calendar icon in caste there are more than one calendar on page




Tags:

todo:  (thraxisp) this may want a browser check ( MS IE >= 5.0, Mozilla >= 1.0, Safari >=1.2, ...)
access:  public


Parameters

string   $p_button_name  
[ Top ]



date_restore_timezone [line 75]

null date_restore_timezone( )

restore previous timezone



Tags:

access:  public


[ Top ]



date_set_timezone [line 59]

null date_set_timezone( $p_timezone)

set new timezone



Tags:

access:  public


Parameters

   $p_timezone  
[ Top ]



print_date_selection_set [line 209]

null print_date_selection_set( string $p_name, string $p_format, [int $p_date = 0], [bool $p_default_disable = false], [bool $p_allow_blank = false], [int $p_year_start = 0], [int $p_year_end = 0])



Tags:

access:  public


Parameters

string   $p_name  
string   $p_format  
int   $p_date  
bool   $p_default_disable  
bool   $p_allow_blank  
int   $p_year_start  
int   $p_year_end  
[ Top ]



print_day_option_list [line 130]

null print_day_option_list( [int $p_day = 0])



Tags:

access:  public


Parameters

int   $p_day  
[ Top ]



print_month_option_list [line 96]

null print_month_option_list( [int $p_month = 0])



Tags:

access:  public


Parameters

int   $p_month  
[ Top ]



print_numeric_month_option_list [line 114]

null print_numeric_month_option_list( [int $p_month = 0])



Tags:

access:  public


Parameters

int   $p_month  
[ Top ]



print_year_option_list [line 146]

null print_year_option_list( [int $p_year = 0])



Tags:

access:  public


Parameters

int   $p_year  
[ Top ]



print_year_range_option_list [line 166]

null print_year_range_option_list( [int $p_year = 0], [int $p_start = 0], [int $p_end = 0])



Tags:

access:  public


Parameters

int   $p_year  
int   $p_start  
int   $p_end  
[ Top ]



Documentation generated on Sun, 12 Dec 2010 23:50:24 +0900 by phpDocumentor 1.4.3
inserted by FC2 system