Definition at line 22 of file follow_up_filter.class.php.
◆ __construct()
Follow_Up_Filter::__construct |
( |
|
$name, |
|
|
|
$json_content |
|
) |
| |
◆ display_list()
static Follow_Up_Filter::display_list |
( |
|
$login | ) |
|
|
static |
display the list of recorded search
- Parameters
-
$login | string Login of the user |
- Returns
- void
Definition at line 90 of file follow_up_filter.class.php.
90 :void
91 {
92
93 require NOALYSS_TEMPLATE."/follow_up_filter-display_list.php";
94 }
◆ getaContent()
Follow_Up_Filter::getaContent |
( |
| ) |
|
◆ getName()
Follow_Up_Filter::getName |
( |
| ) |
|
◆ save()
Follow_Up_Filter::save |
( |
| ) |
|
Definition at line 67 of file follow_up_filter.class.php.
67 {
70
71 $exist=
$cn->get_value(
"select count(*) from action_gestion_filter where af_user=$1 and
72 af_name=$2" , [
$g_user->getLogin(),$this->name]);
73 if ( $exist == 0 ) {
74 $cn->exec_sql(
"insert into action_gestion_filter(af_user,af_name,af_search) values ($1,$2,$3)",
75 [
$g_user->getLogin(),$this->name,$this->json_content]);
76 } else {
77 $cn->exec_sql(
"update action_gestion_filter set af_search=$3 where
78 af_user=$1 and
79 af_name=$2" ,
80 [
$g_user->getLogin(),$this->name,$this->json_content]);
81 }
82
83 }
global $g_user
if no group available , then stop
References $cn, $g_user, and name.
◆ setaContent()
Follow_Up_Filter::setaContent |
( |
|
$json_content | ) |
|
◆ setName()
Follow_Up_Filter::setName |
( |
|
$name | ) |
|
◆ $json_content
Follow_Up_Filter::$json_content |
|
protected |
◆ $name
The documentation for this class was generated from the following file: