[ Index ]
 

Code source de SPIP Agora 1.4

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/Agora1-4/ecrire/include/bd/ -> signature.php (sommaire)

(pas de description)

Poids: 1069 lignes (27 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

BD_signature:: (38 méthodes):
  factory()
  BD_signature()
  getSignatureId()
  setSignatureId()
  getArticleId()
  setArticleId()
  getDateTime()
  setDateTime()
  getNomEmail()
  setNomEmail()
  getAdEmail()
  setAdEmail()
  getNomSite()
  setNomSite()
  getUrlSite()
  setUrlSite()
  getMessage()
  setMessage()
  getStatut()
  setStatut()
  getMajDate()
  setMajDate()
  create()
  update()
  load()
  delete()
  _fetchData()
  deleteMajDate()
  getAllSignatureIds()
  getAllForStatut()
  hasStatut()
  hasArticleIdAndAdEmailAndStatut()
  hasArticleIdAndUrlSiteAndStatut()
  hasArticleIdAndUrlSiteAndStatuts()
  howManyArticles()
  howManySignatureForStatutsAndDateTime()
  getAllForStatutsAndArticleId()
  deleteForStatutsAndDateTime()


Classe: BD_signature  - X-Ref

BD_signature is a base class for mot business persistence abstraction implementations, and must be
inherited by all such.

factory($dbParameters, $dbOptions = null)   X-Ref
This method is a factory static method. It should be used to get any
specific implementation instace of Signature business data type.

param: BD_parameters DB connection parameters

BD_signature()   X-Ref
DB_signature constructor.


getSignatureId()   X-Ref
Returns the Signature ID

return: int

setSignatureId($signatureId)   X-Ref
Sets the Signature ID

param: int

getArticleId()   X-Ref
Returns the article ID

return: int

setArticleId($articleId)   X-Ref
Sets the Article ID

param: int

getDateTime()   X-Ref
Returns the DateTime

return: Date

setDateTime($dateTime)   X-Ref
Sets the DateTime

param: Date

getNomEmail()   X-Ref
Returns the Email name

return: String

setNomEmail($nomEmail)   X-Ref
Sets the Email name

param: String

getAdEmail()   X-Ref
Returns the adEmail

return: String

setAdEmail($adEmail)   X-Ref
Sets the adEmail

param: String

getNomSite()   X-Ref
Returns the Site name

return: String

setNomSite($nomSite)   X-Ref
Sets the Site name

param: String

getUrlSite()   X-Ref
Returns the URL

return: String

setUrlSite($urlSite)   X-Ref
Sets the URL

param: String

getMessage()   X-Ref
Returns the message

return: String

setMessage($message)   X-Ref
Sets the message

param: String

getStatut()   X-Ref
Returns the statut

return: String

setStatut($statut)   X-Ref
Sets the statut

param: String

getMajDate()   X-Ref
Returns the word update date

return: Date

setMajDate($majDate)   X-Ref
Sets the word update date

param: Date

create()   X-Ref
Pas de description

update()   X-Ref
Pas de description

load($idSignature)   X-Ref
Pas de description

delete($idSignature)   X-Ref
Pas de description

_fetchData($row)   X-Ref
Pas de description

deleteMajDate($myDate)   X-Ref
This method is used to delete all signatures former to mydate


getAllSignatureIds()   X-Ref
Pas de description

getAllForStatut($val_confirm)   X-Ref
Returns an array of Signature.

param: $val_confirm
return: Array of Signature

hasStatut($passw)   X-Ref
This method tests whether or not signatures contains this statut

return: boolean

hasArticleIdAndAdEmailAndStatut($id_article, $ad_email, $statut)   X-Ref
This method tests whether or not signatures contains a articleid, ademail and statut

return: boolean

hasArticleIdAndUrlSiteAndStatut($id_article, $site, $statut)   X-Ref
This method tests whether or not signatures contains a articleid, ademail and statut

return: boolean

hasArticleIdAndUrlSiteAndStatuts($id_article, $site, $statut1, $statut2)   X-Ref
This method tests whether or not signatures contains a articleid, ademail and statut

return: boolean

howManyArticles($id_article)   X-Ref
This method returns the number of published articles

return: int

howManySignatureForStatutsAndDateTime($statut1, $statut2, $id_article = null)   X-Ref
This method returns the number of signature

return: int

getAllForStatutsAndArticleId($statut1, $statut2, $debut, $id_article = null)   X-Ref
This method returns an array of signature

return: int

deleteForStatutsAndDateTime($statut1, $statut2)   X-Ref
This method is used to delete $statut1 and $statut2 signatures




Généré le : Sat Feb 24 14:40:03 2007 par Balluche grâce à PHPXref 0.7