noalyss Version-9
NOALYSS : serveur de comptabilité et ERP (2002)
Loading...
Searching...
No Matches
Noalyss\Widget\Last_Event Class Reference

display last_followup More...

+ Inheritance diagram for Noalyss\Widget\Last_Event:
+ Collaboration diagram for Noalyss\Widget\Last_Event:

Public Member Functions

 display ()
 display 10 last action
 
- Public Member Functions inherited from Noalyss\Widget\Widget
 __construct (protected int $user_widget_id=0, protected string $widget_code="", protected $db=null)
 
 button_zoom ()
 compute the button ZOOM to put in the title
 
 close_div ()
 
 display_parameter ()
 MUST BE overrided if the widget needs extra parameters, display the content of extra-parameter.
 
 get_div_domid ()
 compute the DIV ID
 
 get_parameter ()
 get the parameter of the widget and returns an array
 
 get_user_widget_id ()
 
 get_widget_code ()
 
 input ($flnumber=true)
 display a description of the widget and allow to save it for the current user, call input_param function of the widget if it exists
 
 input_parameter ()
 MUST BE overrided if the widget needs extra parameters, create a FORM to add extra-parameter.
 
 make_form ($html_input)
 open a form with the DOMID "widget_code"_param, it appears once only for each widget in the dialog box for adding widget to the dashboard
 
 open_div ()
 output the DIV HTML with class and id for the widget
 
 set_user_widget_id (int $user_widget_id)
 
 set_widget_code (string $widget_code)
 
 title ( $title)
 display the title and the icon for zooming
 

Additional Inherited Members

- Static Public Member Functions inherited from Noalyss\Widget\Widget
static ajax_display (Widget $widget)
 display a box and fills it with the content of an ajax calls , the ajax calls Widget::display
 
static build_user_widget ($user_widget_id, $widget_code)
 Build a widget thank the user_widget_id (SQL :PK : USER_WIDGET.UW_ID) and $widget_code.
 
static display_available ()
 @brier display activated widgets
 
static get_enabled_widget ()
 returns an array of widget for the connected user, ordered
 
static save ($array)
 save widget order from an array
 
static scanfolder ()
 scan folder to find install.php file , include them if the code is not in DB
 
static select_available ()
 show all the widget that can be added
 

Detailed Description

display last_followup

Definition at line 32 of file last_event.php.

Member Function Documentation

◆ display()

Noalyss\Widget\Last_Event::display ( )

display 10 last action

Returns
void
Exceptions

Exception

Reimplemented from Noalyss\Widget\Widget.

Definition at line 39 of file last_event.php.

40 {
41 global $cn;
42 $this->open_div();
43 $this->title(_("Dernières actions du suivi"));
44
45 $gestion=new \Follow_Up($cn);
46 $array=$gestion->get_last(MAX_ACTION_SHOW);
47 $len_array=count($array);
48 include "last_event-display.php";
49 $this->close_div();
50 }
_("actif, passif,charge,...")
$anc_filter title
const MAX_ACTION_SHOW
Definition constant.php:148

References $array, $cn, _, Noalyss\Widget\Widget\close_div(), MAX_ACTION_SHOW, Noalyss\Widget\Widget\open_div(), and title.

+ Here is the call graph for this function:

The documentation for this class was generated from the following file: