MailmanSpip
class MailmanSpip (View source)
Class to manage mailman and spip
Properties
| DoliDB | $db | ||
| string | $error | ||
| string[] | $errors | ||
| array<string, string> | $mladded_ok | ||
| array<string, string> | $mladded_ko | ||
| array<string, string> | $mlremoved_ok | ||
| array<string, string> | $mlremoved_ko |
Methods
bool
isSpipEnabled()
Function used to check if SPIP is enabled on the system
bool
checkSpipConfig()
Function used to check if the SPIP config is correct
bool|DoliDB
connectSpip()
Function used to connect to SPIP
is_in_spip(object $object)
Indicate if the user is an existing editor in spip
del_to_mailman(Adherent|stdClass $object, $listes = '')
Unsubscribe an email from all mailing-lists Used when a user is resiliated
Details
__construct(DoliDB $db)
Constructor
bool
isSpipEnabled()
Function used to check if SPIP is enabled on the system
bool
checkSpipConfig()
Function used to check if the SPIP config is correct
bool|DoliDB
connectSpip()
Function used to connect to SPIP
add_to_spip(Adherent $object)
Fonction qui donne les droits redacteurs dans spip
del_to_spip(Adherent $object)
Fonction qui enleve les droits redacteurs dans spip
is_in_spip(object $object)
Indicate if the user is an existing editor in spip