dolibarr 20.0.0
FormSms Class Reference

Class permettant la generation du formulaire d'envoi de Sms Usage: $formsms = new FormSms($db) $formsms->proprietes=1 ou chaine ou tableau de valeurs $formsms->show_form() affiche le formulaire. More...

Public Member Functions

 __construct ($db)
 Constructor.
 
 show_form ($morecss='titlefield', $showform=1)
 Show the form to input an sms.
 

Detailed Description

Class permettant la generation du formulaire d'envoi de Sms Usage: $formsms = new FormSms($db) $formsms->proprietes=1 ou chaine ou tableau de valeurs $formsms->show_form() affiche le formulaire.

Definition at line 34 of file html.formsms.class.php.

Constructor & Destructor Documentation

◆ __construct()

FormSms::__construct ( $db)

Constructor.

Parameters
DoliDB$dbDatabase handler

Definition at line 107 of file html.formsms.class.php.

Member Function Documentation

◆ show_form()

FormSms::show_form ( $morecss = 'titlefield',
$showform = 1 )

Show the form to input an sms.

Parameters
string$morecssClass on first column td
int$showformShow form tags and submit button (recommended is to use with value 0)
Returns
void

Definition at line 131 of file html.formsms.class.php.

References dol_include_once(), dol_print_error(), dol_strlen(), dol_syslog(), getDolGlobalString(), GETPOST(), and make_substitutions().


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