noalyss Version-9
|
Display the calendar. More...
Public Member Functions | |
__construct () | |
display ($p_type, $p_notitle) | |
display a calendar after a call to Calendar::fill More... | |
fill_from_action (&$p_array, $p_style) | |
fill the array given as parameter with the data from action_gestion More... | |
fill_from_todo (&$p_array, $p_style) | |
fill the array given as parameter with the data from todo More... | |
get_preference () | |
get the periode from the preference of the current user change the value of default_periode to today More... | |
set_month_year () | |
set correctly the month and the year with the default_periode More... | |
set_periode ($p_per) | |
set the periode to the parameter, change the value of $this->default_periode there is no check on the periode More... | |
zoom ($p_type, $p_notitle) | |
zoom_calendar ($notitle) | |
zoom the calendar More... | |
zoom_list ($notitle) | |
Display the next events for 30 days todo list + action to remind. More... | |
Static Public Member Functions | |
static | test_me () |
Data Fields | |
$action | |
$action_div | |
$current_date | |
$day | |
$default_periode | |
$hour | |
$month | |
$str_name | |
$title | |
$year | |
Static Private Attributes | |
static | $nb_day =array(31,28,31,30,31,30,31,31,30,31,30,31) |
Display the calendar.
Definition at line 31 of file calendar.class.php.
Calendar::__construct | ( | ) |
Definition at line 47 of file calendar.class.php.
References title.
Calendar::display | ( | $p_type, | |
$p_notitle | |||
) |
display a calendar after a call to Calendar::fill
$p_type | long or short |
Definition at line 180 of file calendar.class.php.
References $cn, $day, $default_periode, $g_user, $i, $notitle, $p_type, $ret, $week, Dossier\connect(), fill_from_action(), fill_from_todo(), id, and set_month_year().
Referenced by fill_from_action().
Calendar::fill_from_action | ( | & | $p_array, |
$p_style | |||
) |
fill the array given as parameter with the data from action_gestion
$p_array | array of the date of the month |
$p_style | is either short or long, short: for a small title, long for a complete one |
Definition at line 67 of file calendar.class.php.
References $array, $cn, $day, $g_user, $i, $ind, $p_array, $profile, $sql, align, Dossier\connect(), display(), title, and width.
Referenced by display(), and zoom_calendar().
Calendar::fill_from_todo | ( | & | $p_array, |
$p_style | |||
) |
fill the array given as parameter with the data from todo
$p_array | array of the date of the month |
$p_style | is either short or long, short: for a small title, long for a complete one |
Definition at line 140 of file calendar.class.php.
References $array, $i, $ind, and $p_array.
Referenced by display(), and zoom_calendar().
Calendar::get_preference | ( | ) |
get the periode from the preference of the current user change the value of default_periode to today
Definition at line 245 of file calendar.class.php.
References $cn, $g_user, $p_id, Dossier\connect(), and default_periode.
Calendar::set_month_year | ( | ) |
set correctly the month and the year with the default_periode
Definition at line 229 of file calendar.class.php.
References $array, $cn, Dossier\connect(), and default_periode.
Referenced by display(), and zoom_calendar().
Calendar::set_periode | ( | $p_per | ) |
set the periode to the parameter, change the value of $this->default_periode there is no check on the periode
Definition at line 268 of file calendar.class.php.
References default_periode.
|
static |
Definition at line 365 of file calendar.class.php.
Calendar::zoom | ( | $p_type, | |
$p_notitle | |||
) |
Definition at line 352 of file calendar.class.php.
References $p_type, zoom_calendar(), and zoom_list().
Calendar::zoom_calendar | ( | $notitle | ) |
zoom the calendar
Definition at line 275 of file calendar.class.php.
References $cn, $day, $default_periode, $g_user, $i, $notitle, $ret, $week, Dossier\connect(), fill_from_action(), fill_from_todo(), id, and set_month_year().
Referenced by zoom().
Calendar::zoom_list | ( | $notitle | ) |
Display the next events for 30 days todo list + action to remind.
Definition at line 319 of file calendar.class.php.
References $cn, $g_user, $profile, $ret, $sql, and Dossier\connect().
Referenced by zoom().
Calendar::$action |
Definition at line 41 of file calendar.class.php.
Calendar::$action_div |
Definition at line 38 of file calendar.class.php.
Calendar::$current_date |
Definition at line 33 of file calendar.class.php.
Calendar::$day |
Definition at line 36 of file calendar.class.php.
Referenced by display(), fill_from_action(), and zoom_calendar().
Calendar::$default_periode |
Definition at line 45 of file calendar.class.php.
Referenced by display(), and zoom_calendar().
Calendar::$hour |
Definition at line 44 of file calendar.class.php.
Calendar::$month |
Definition at line 35 of file calendar.class.php.
|
staticprivate |
Definition at line 34 of file calendar.class.php.
Calendar::$str_name |
Definition at line 42 of file calendar.class.php.
Calendar::$title |
Definition at line 43 of file calendar.class.php.
Calendar::$year |
Definition at line 37 of file calendar.class.php.