|
noalyss Version-9
NOALYSS : serveur de comptabilité et ERP (2002)
|
Display the calendar. More...
Collaboration diagram for Calendar:Public Member Functions | |
| __construct () | |
| display ($p_type, $p_notitle) | |
| display a calendar after a call to Calendar::fill | |
| fill_from_action (&$p_array, $p_style) | |
| fill the array given as parameter with the data from action_gestion | |
| fill_from_todo (&$p_array, $p_style) | |
| fill the array given as parameter with the data from todo | |
| get_preference () | |
| get the periode from the preference of the current user change the value of default_periode to today | |
| set_month_year () | |
| set correctly the month and the year with the default_periode | |
| set_periode ($p_per) | |
| set the periode to the parameter, change the value of $this->default_periode there is no check on the periode | |
| zoom ($p_type, $p_notitle) | |
| zoom_calendar ($notitle) | |
| zoom the calendar | |
| zoom_list ($notitle) | |
| Display the next events for 30 days. | |
Static Public Member Functions | |
| static | test_me () |
Data Fields | |
| $action | |
| array of event - follow-up (T: action_gestion) | |
| $action_div | |
| array of action | |
| $current_date | |
| $day | |
| day | |
| $default_periode | |
| int default periode (parm_periode.p_id) | |
| $hour | |
| array of hour for each event - follow-up (T: action_gestion) | |
| $month | |
| current month | |
| $str_name | |
| array of tiers for event - follow-up (T: action_gestion) | |
| $title | |
| array of title for each event - follow-up (T: action_gestion) | |
| $year | |
| 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, _, fill_from_action(), fill_from_todo(), and set_month_year().
Referenced by fill_from_action().
Here is the call graph for this function:| 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, display(), title, and width.
Referenced by display(), and zoom_calendar().
Here is the call graph for this function:| 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, $cn, $i, $ind, $p_array, $sql, _, else, for, from, h, if, nb(), span(), and style.
Referenced by display(), and zoom_calendar().
Here is the call graph for this function:| 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, $today, 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, 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().
Here is the call graph for this function:| 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, _, fill_from_action(), fill_from_todo(), and set_month_year().
Referenced by zoom().
Here is the call graph for this function:| Calendar::zoom_list | ( | $notitle | ) |
Display the next events for 30 days.
Definition at line 319 of file calendar.class.php.
References $cn, $g_user, $notitle, $profile, $ret, and $sql.
Referenced by zoom().
| Calendar::$action |
array of event - follow-up (T: action_gestion)
Definition at line 41 of file calendar.class.php.
| Calendar::$action_div |
array of action
Definition at line 38 of file calendar.class.php.
| Calendar::$current_date |
Definition at line 33 of file calendar.class.php.
| Calendar::$day |
day
Definition at line 36 of file calendar.class.php.
Referenced by display(), fill_from_action(), and zoom_calendar().
| Calendar::$default_periode |
int default periode (parm_periode.p_id)
Definition at line 45 of file calendar.class.php.
Referenced by display(), and zoom_calendar().
| Calendar::$hour |
array of hour for each event - follow-up (T: action_gestion)
Definition at line 44 of file calendar.class.php.
| Calendar::$month |
current month
Definition at line 35 of file calendar.class.php.
|
staticprivate |
Definition at line 34 of file calendar.class.php.
| Calendar::$str_name |
array of tiers for event - follow-up (T: action_gestion)
Definition at line 42 of file calendar.class.php.
| Calendar::$title |
array of title for each event - follow-up (T: action_gestion)
Definition at line 43 of file calendar.class.php.
| Calendar::$year |
year
Definition at line 37 of file calendar.class.php.