| [ Index ] |
|
Code source de SPIP Agora 1.4 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 624 lignes (18 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
BD_contact:: (28 méthodes):
factory()
BD_contact()
getDbParameters()
setDbParameters()
getDbOptions()
setDbOptions()
_getDB()
getContactId()
setContactId()
getSujet()
setSujet()
getDestinataires()
setDestinataires()
getCopie()
setCopie()
getIsLoaded()
setIsLoaded()
create()
update()
load()
delete()
_fetchData()
getContacts()
createRelation()
deleteRelationByRubriqueIdAndContactIds()
deleteRelationsByContactId()
getRelations()
getRelation()
Classe: BD_contact - X-Ref
BD_contact is a base class for contact and rubrique relation managements.| factory($dbParameters, $dbOptions = null) X-Ref |
| This method is a factory static method. It should be used to get any specific implementation instace of Rubrique business data type. param: BD_parameters DB connection parameters |
| BD_contact() X-Ref |
| DB_rubrique constructor. |
| getDbParameters() X-Ref |
| Getter method to retreive the instance Parameters object return: DB parameters |
| setDbParameters($dbParameters) X-Ref |
| Setter method to set the instance Parameters object param: $dbParameters new DB parameters |
| getDbOptions() X-Ref |
| Getter method to retreive the instance Options array return: array |
| setDbOptions($dbOptions) X-Ref |
| Setter method to set the instance Parameters object param: array array of PEAR::DB options |
| _getDB($dbParameters = null) X-Ref |
| Protected method used to get an PEAR::DB instance using the parameters stored in the _dbParameters field return: Newly creating PEAR::DB object |
| getContactId() X-Ref |
| Pas de description |
| setContactId($contactId) X-Ref |
| Pas de description |
| getSujet() X-Ref |
| Pas de description |
| setSujet($sujet) X-Ref |
| Pas de description |
| getDestinataires() X-Ref |
| Pas de description |
| setDestinataires($destinataires) X-Ref |
| Pas de description |
| getCopie() X-Ref |
| Pas de description |
| setCopie($copie) X-Ref |
| Pas de description |
| getIsLoaded() X-Ref |
| Pas de description |
| setIsLoaded($isLoaded) X-Ref |
| Pas de description |
| create() X-Ref |
| This method is used to create a new article in the database |
| update() X-Ref |
| This method is used to update this article in the database |
| load($idContact) X-Ref |
| This method is used to load a contact from the database param: int $idContact id of contact to load |
| delete($idContact) X-Ref |
| This method is used to delete a contact from the database param: int $idContact id of contact to delete |
| _fetchData($row) X-Ref |
| This method is used to fetch result set fields into the object fields |
| getContacts() X-Ref |
| This method is used to list entries from the database corresponding to a rubrique ID |
| createRelation($rubriqueId, $contactId) X-Ref |
| This method is used to create a relation between a contact and a rubrique in the database |
| deleteRelationByRubriqueIdAndContactIds($rubriqueId, $contactIds) X-Ref |
| This method is used to delete relations from the database |
| deleteRelationsByContactId($contactId) X-Ref |
| This method is used to delete multiples entries from the database |
| getRelations($rubriqueId) X-Ref |
| This method is used to list entries from the database corresponding to a rubrique ID |
| getRelation($rubriqueId, $contactId) X-Ref |
| This method is used to list the entry from the database corresponding to a rubrique ID and contact ID |
| Généré le : Sat Feb 24 14:40:03 2007 | par Balluche grâce à PHPXref 0.7 |