$listeProjet = $selectClient->getProjet(); $listeClient = getListActiveClient(); require_once $path . "html/client.php"; break; case $CURSOR_compteView: $personneAccount = new Personne($_SESSION["user"]->getId()); require_once $path . "html/account.php"; break; case $CURSOR_clientEditView: if (isset($_SESSION["client"])) { $idClient = $_SESSION["client"]; } else { $idClient = -1; } $selectClient = new Client($idClient); $listeContact = $selectClient->getContact(); $listeProjet = $selectClient->getProjet(); $listeClient = getListActiveClient(); require_once $path . "html/client_edit.php"; break; case $CURSOR_research: require_once $path . "html/search.php"; break; case $CURSOR_tableau: if ($_SESSION["systemData"]->getUserRole() == 4) { require_once $path . "html/tableau_collabo.php"; } else { require_once $path . "html/tableau_respo.php"; } break; case $CURSOR_collabo:
# // you can delete contact by email or budgetmailer contact id $emailOrId = '*****@*****.**'; // you can optionally send name or id of budgetmailer contact list id // null = default list from configuration $listName = null; $client->deleteContact($emailOrId, $listName); # # 6. DELETE TAG FROM CONTACT # $tag = 'Tag'; $client->deleteTag($emailOrId, $tag, $listName); # # 7. GET SINGLE CONTACT # $contact = $client->getContact($emailOrId, $listName); # # 8. GET MULTIPLE CONTACTS # $offset = 0; $limit = 20; $sort = 'ASC'; $unsubscribed = null; $list = null; $client->getContacts($offset, $limit, $sort, $unsubscribed, $listName); # # 9. GET TAGS FROM CONTACT # $tags = $client->getTags($emailOrId, $listName); # # 10. CREATE NEW CONTACT IN LIST