[ 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/ -> forum.php (sommaire)

(pas de description)

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

Définit 1 class

BD_forum:: (84 méthodes):
  factory()
  BD_forum()
  getForumId()
  setForumId()
  getParentId()
  setParentId()
  getRubriqueId()
  setRubriqueId()
  getArticleId()
  setArticleId()
  getBreveId()
  setBreveId()
  getDateHeure()
  setDateHeure()
  getTitre()
  setTitre()
  getTexte()
  setTexte()
  getAuteur()
  setAuteur()
  getEmailAuteur()
  setEmailAuteur()
  getNomSite()
  setNomSite()
  getUrlSite()
  setUrlSite()
  getStatut()
  setStatut()
  getIp()
  setIp()
  getMajDate()
  setMajDate()
  getAuteurId()
  setAuteurId()
  getMessageId()
  setMessageId()
  getSyndicId()
  setSyndicId()
  getProfilAuteur()
  setProfilAuteur()
  getEmailAlerte()
  setEmailAlerte()
  create()
  update()
  load()
  delete()
  _fetchData()
  addForumCache()
  deleteAllExceptArticleIds()
  deleteAllExceptBreveIds()
  deleteAllExceptMessageIds()
  deleteAllExceptParentIds()
  deleteAllExceptRubriqueIds()
  deleteForMessageId()
  deleteCacheForFichier()
  getAllForForumType()
  getAllForStatut()
  getAllEmptyMessagesForStatut()
  getAllForumIds()
  getAllRootMessagesForCurrentForum()
  getAllMessagesForParentId()
  howManyPostByForumId()
  howManyPostByForumsIdAndStatut()
  deleteFichier()
  deleteMajDate()
  howManyForumForArticleIdAndStatuts()
  howManyForumForArticleId()
  howManyForumForBreveId()
  howManyForumForRubriqueId()
  howManyForumForRubriqueIdAndStatuts()
  howManyForumForBreveIdAndStatuts()
  howManyForumForStatut2()
  howManyForumForStatut()
  deleteExpiredCache()
  deleteAllCache()
  deleteForStatutAndMaj()
  getMessageWayForStatut()
  search()
  changeStatutOK()
  getBranch()
  sendMail()
  advertiseAuthorPublished()
  advertiseAuthorRefused()
  isArchive()


Classe: BD_forum  - X-Ref

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

factory($dbParameters = null, $dbOptions = null)   X-Ref
Pas de description

BD_forum()   X-Ref
DB_forum constructor.


getForumId()   X-Ref
Returns the Forum ID

return: int

setForumId($forumId)   X-Ref
Sets the Forum ID

param: int

getParentId()   X-Ref
Returns the Parent's ID

return: int

setParentId($parentId)   X-Ref
Sets the Forum's ID

param: int

getRubriqueId()   X-Ref
Returns the Heading's ID

return: int

setRubriqueId($rubriqueId)   X-Ref
Sets the Heading's ID

param: int

getArticleId()   X-Ref
Returns the Article's ID

return: int

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

param: int

getBreveId()   X-Ref
Pas de description

setBreveId($breveId)   X-Ref
Sets the Breve's ID

param: int

getDateHeure()   X-Ref
Returns the creation date

return: Date

setDateHeure($dateHeure)   X-Ref
Returns the creation date

return: Date

getTitre()   X-Ref
Returns the Title

return: String

setTitre($titre)   X-Ref
Sets the Title

param: String

getTexte()   X-Ref
Returns the Text

return: String

setTexte($texte)   X-Ref
Sets the Text

param: String

getAuteur()   X-Ref
Returns the Author

return: String

setAuteur($auteur)   X-Ref
Sets the Author

param: String

getEmailAuteur()   X-Ref
Returns the Author's email

return: String

setEmailAuteur($emailAuteur)   X-Ref
Sets the Author's email

param: String

getNomSite()   X-Ref
Returns the Site's name

return: String

setNomSite($nomSite)   X-Ref
Returns the Site's name

param: String

getUrlSite()   X-Ref
Returns the Site's URL

return: String

setUrlSite($urlSite)   X-Ref
Sets the Site's URL

param: String

getStatut()   X-Ref
Pas de description

setStatut($statut)   X-Ref
Sets the Statute

param: String

getIp()   X-Ref
Returns the IP

return: String

setIp($ip)   X-Ref
Sets the IP

param: String

getMajDate()   X-Ref
Returns the last update

return: Date

setMajDate($majDate)   X-Ref
Sets the last update

param: Date

getAuteurId()   X-Ref
Returns the Author's ID

return: int

setAuteurId($auteurId)   X-Ref
Sets the Author's ID

param: int

getMessageId()   X-Ref
Returns the Message's ID

return: int

setMessageId($messageId)   X-Ref
Returns the Message's ID

param: int

getSyndicId()   X-Ref
Returns the Syndic's ID

return: int

setSyndicId($syndicId)   X-Ref
Sets the Syndic's ID

param: int

getProfilAuteur()   X-Ref
Returns the profilAuteur

return: Int

setProfilAuteur($profilAuteur)   X-Ref
Sets the ProfilAuteur

param: Int

getEmailAlerte()   X-Ref
Returns the _emailAlerte

return: String

setEmailAlerte($emailAlerte)   X-Ref
Sets the _emailAlerte

param: String

create()   X-Ref
This method is used to create a new forum in the database


update()   X-Ref
This method is used to update this forum in the database


load($idForum)   X-Ref
This method is used to load a forum from the database

param: int $idForum id of forum to load

delete($idForum)   X-Ref
This method is used to delete a forum from the database

param: int $idForum of forum to delete

_fetchData($row)   X-Ref
This method is used to fetch result set fields into the object fields

param: $row    resultset row

addForumCache($valeurs)   X-Ref
Pas de description

deleteAllExceptArticleIds($articles)   X-Ref
Pas de description

deleteAllExceptBreveIds($breves)   X-Ref
Pas de description

deleteAllExceptMessageIds($messages)   X-Ref
Pas de description

deleteAllExceptParentIds($parents)   X-Ref
Pas de description

deleteAllExceptRubriqueIds($rubriques)   X-Ref
Pas de description

deleteForMessageId($messageId)   X-Ref
Pas de description

deleteCacheForFichier($fichier)   X-Ref
Pas de description

getAllForForumType($page, $limitdeb, $limitnb, $order = null, $statut = null, $ageMessage = null,$id_current_forum = null, $type_forum = null)   X-Ref
Returns an array of Forum.

param: $page
param: $limitedeb
param: $limitnb
param: $page
return: Array of Forum

getAllForStatut($statut)   X-Ref
Returns an array of Forum.

param: $statut
return: Array of Forum

getAllEmptyMessagesForStatut($statut)   X-Ref
Returns an array of Forum.

param: $statut
return: Array of Forum

getAllForumIds()   X-Ref
Returns an array of Forum ID.

return: an array of Forum ID

getAllRootMessagesForCurrentForum($id_current_forum, $type, $maDate = null)   X-Ref
Returns an array of Root Forum.

return: an array of Root Forum

getAllMessagesForParentId($parentId, $maDate = null)   X-Ref
Pas de description

howManyPostByForumId($parentId)   X-Ref
Pas de description

howManyPostByForumsIdAndStatut($statut)   X-Ref
Pas de description

deleteFichier($forum_id_article, $forum_id_rubrique, $forum_id_breve, $forum_id_parent, $CacheDirectory)   X-Ref
delete cache files.


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


howManyForumForArticleIdAndStatuts($articleId, $statuts, $parentId = -1)   X-Ref
This method returns the number of message for a published, off or proposed article

param: id_article
param: statuts
return: int

howManyForumForArticleId($articleId)   X-Ref
This method returns the number of message for a article

param: id_article
return: int

howManyForumForBreveId($breveId)   X-Ref
This method returns the number of message for a breve

param: id_breve
return: int

howManyForumForRubriqueId($rubriqueId)   X-Ref
This method returns the number of message for a rubrique

param: id_rubrique
return: int

howManyForumForRubriqueIdAndStatuts($rubriqueId, $statuts, $parentId = -1)   X-Ref
This method returns the number of message for a published, off or proposed rubrique

param: id_rubrique
param: statuts
return: int

howManyForumForBreveIdAndStatuts($breveId, $statuts, $parentId = -1)   X-Ref
This method returns the number of message for a published, off or proposed breve

param: id_breve
param: statuts
return: int

howManyForumForStatut2($statut)   X-Ref
This method returns the number of statut message

param: statut
return: int

howManyForumForStatut($statut)   X-Ref
This method returns the number of statut message

param: statut
return: int

deleteExpiredCache()   X-Ref
delete expired cache file


deleteAllCache()   X-Ref
delete cache file


deleteForStatutAndMaj($statut, $mydate)   X-Ref
Pas de description

getMessageWayForStatut($id_current_forum, $type_forum, $statut)   X-Ref
Pas de description

search($recherche, $typeRecherche, $id_current_forum = null, $type_forum = null)   X-Ref
Returns an array of Forum.

param: $page
param: $limitedeb
param: $limitnb
param: $page
return: Array of Forum

changeStatutOK($forumId, $statut)   X-Ref
Returns an boolean.

param: $forumId
param: $statut
return: boolean

getBranch($forumId, $params = array()   X-Ref
Returns a string.

param: $forumId
return: String

sendMail($forum, $adresseMessage = '')   X-Ref
Pas de description

advertiseAuthorPublished($adresseMessage = '')   X-Ref
Pas de description

advertiseAuthorRefused()   X-Ref
Pas de description

isArchive($articleId, $rubriqueId)   X-Ref
Pas de description



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