|
noalyss Version-9
NOALYSS : serveur de comptabilité et ERP (2002)
|
This class manages the table todo_list. More...
Collaboration diagram for Todo_List:Public Member Functions | |
| __construct ($p_init) | |
| add_share ($p_login) | |
| Add a share with someone. | |
| check ($p_idx, &$p_value) | |
| delete () | |
| display () | |
| Display the note. | |
| display_row ($p_odd, $with_tag='Y') | |
| display_user () | |
| display all the user to select the user with who we want to share the connected user is not shown @global type $g_user | |
| get_class () | |
| Highlight today. | |
| get_info () | |
| get_parameter ($p_string) | |
| insert () | |
| is_shared_with ($p_login) | |
| return the todo_list_shared.id of the note, if nothing is found then return 0 | |
| load () | |
| load the todo_list row thanks it's ID | |
| load_all () | |
| load all the task | |
| remove_share ($p_login) | |
| remove the share with someone | |
| remove_shared_with ($p_array) | |
| Insert a share for current note in the table todo_list_shared The public shared note cannot be removed. | |
| save () | |
| save_shared_with ($p_array) | |
| Insert a share for current note in the table todo_list_shared. | |
| set_is_public ($p_value) | |
| set a note public | |
| set_parameter ($p_string, $p_value) | |
| toXML () | |
| transform into xml for ajax answer | |
| update () | |
| verify () | |
Static Public Member Functions | |
| static | test_me () |
| static testing function | |
| static | to_object ($p_cn, $p_array) |
Data Fields | |
| $tl_desc | |
Private Attributes | |
| $cn | |
| $is_public | |
| $tl_date | |
| $tl_id | |
| $tl_title | |
| $use_login | |
Static Private Attributes | |
| static | $variable |
This class manages the table todo_list.
Data Member :
Definition at line 42 of file todo_list.class.php.
| Todo_List::__construct | ( | $p_init | ) |
Definition at line 55 of file todo_list.class.php.
References cn.
| Todo_List::add_share | ( | $p_login | ) |
Add a share with someone.
| type | $p_login |
Definition at line 408 of file todo_list.class.php.
References insert().
Here is the call graph for this function:| Todo_List::check | ( | $p_idx, | |
| & | $p_value ) |
Definition at line 74 of file todo_list.class.php.
References isDate(), isNumber(), and noalyss_strlentrim().
Referenced by set_parameter().
Here is the call graph for this function:| Todo_List::delete | ( | ) |
Definition at line 233 of file todo_list.class.php.
References $g_user, $res, $sql, cn, and SHARENOTEREMOVE.
| Todo_List::display | ( | ) |
Display the note.
Definition at line 302 of file todo_list.class.php.
Here is the call graph for this function:| Todo_List::display_row | ( | $p_odd, | |
| $with_tag = 'Y' ) |
Definition at line 322 of file todo_list.class.php.
References $r, and get_class().
Here is the call graph for this function:| Todo_List::display_user | ( | ) |
display all the user to select the user with who we want to share the connected user is not shown @global type $g_user
Definition at line 383 of file todo_list.class.php.
| Todo_List::get_class | ( | ) |
Highlight today.
Definition at line 315 of file todo_list.class.php.
References $a.
Referenced by display_row().
| Todo_List::get_info | ( | ) |
Definition at line 108 of file todo_list.class.php.
| Todo_List::get_parameter | ( | $p_string | ) |
Definition at line 64 of file todo_list.class.php.
References $idx.
Referenced by save().
| Todo_List::insert | ( | ) |
Definition at line 128 of file todo_list.class.php.
References $res, $sql, alert(), cn, DatabaseCore\fetch_result(), and verify().
Referenced by add_share(), and save().
Here is the call graph for this function:| Todo_List::is_shared_with | ( | $p_login | ) |
return the todo_list_shared.id of the note, if nothing is found then return 0
| $p_login |
Definition at line 398 of file todo_list.class.php.
References from.
| Todo_List::load | ( | ) |
load the todo_list row thanks it's ID
Definition at line 213 of file todo_list.class.php.
References $idx, $res, $row, $sql, cn, DatabaseCore\fetch_array(), and DatabaseCore\num_row().
Referenced by display().
Here is the call graph for this function:| Todo_List::load_all | ( | ) |
load all the task
Definition at line 188 of file todo_list.class.php.
References $array, $res, $sql, cn, and DatabaseCore\fetch_all().
Here is the call graph for this function:| Todo_List::remove_share | ( | $p_login | ) |
remove the share with someone
| type | $p_login |
Definition at line 416 of file todo_list.class.php.
References from.
| Todo_List::remove_shared_with | ( | $p_array | ) |
Insert a share for current note in the table todo_list_shared The public shared note cannot be removed.
| string | (use_login) |
Definition at line 292 of file todo_list.class.php.
| Todo_List::save | ( | ) |
Definition at line 120 of file todo_list.class.php.
References get_parameter(), insert(), and update().
Here is the call graph for this function:| Todo_List::save_shared_with | ( | $p_array | ) |
Insert a share for current note in the table todo_list_shared.
| string | (use_login) |
Definition at line 276 of file todo_list.class.php.
| Todo_List::set_is_public | ( | $p_value | ) |
set a note public
| $p_value | is Y or N |
Definition at line 263 of file todo_list.class.php.
References $g_user, and SHARENOTEPUBLIC.
| Todo_List::set_parameter | ( | $p_string, | |
| $p_value ) |
Definition at line 96 of file todo_list.class.php.
Here is the call graph for this function:
|
static |
|
static |
Definition at line 359 of file todo_list.class.php.
Referenced by Noalyss\Widget\Todo_List\display().
| Todo_List::toXML | ( | ) |
| Todo_List::update | ( | ) |
Definition at line 157 of file todo_list.class.php.
References $res, $sql, cn, and verify().
Referenced by save().
Here is the call graph for this function:| Todo_List::verify | ( | ) |
|
private |
Definition at line 52 of file todo_list.class.php.
|
private |
Definition at line 53 of file todo_list.class.php.
|
private |
Definition at line 53 of file todo_list.class.php.
| Todo_List::$tl_desc |
Definition at line 54 of file todo_list.class.php.
|
private |
Definition at line 53 of file todo_list.class.php.
|
private |
Definition at line 53 of file todo_list.class.php.
|
private |
Definition at line 53 of file todo_list.class.php.
|
staticprivate |
Definition at line 45 of file todo_list.class.php.