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

(pas de description)

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

Définit 1 class

BD_breve:: (59 méthodes):
  factory()
  BD_breve()
  getBreveId()
  setBreveId()
  getDateHeure()
  setDateHeure()
  getTitre()
  setTitre()
  getTexte()
  setTexte()
  getLienTitre()
  setLienTitre()
  getLienUrl()
  setlienUrl()
  getStatut()
  setStatut()
  getRubriqueId()
  setRubriqueId()
  getRubriqueIdsHisto()
  getMajDate()
  setMajDate()
  getExtra()
  setLang()
  getLang()
  setExtra()
  getLangChoisie()
  setLangChoisie()
  create()
  update()
  load()
  delete()
  _fetchData()
  deleteMajDate()
  deleteRubriqueAndMajDate()
  deleteStatusAndMajDate()
  getAllRubriqueId()
  getAllBreveId()
  getRubriqueIdsByStatus()
  getMaxDateHeure()
  howManyBreveForRubrique()
  howManyBreve()
  HowManyBreveForMot()
  howManyBreveIdForStatut()
  getAllForRubriqueIds()
  getToday()
  isStatus()
  updateSecteursForRubriques()
  updateDateAndStatusForBreve()
  updateDateForBreveId()
  getAllDocumentsLies()
  addBookmark()
  deleteBookmark()
  isBookmark()
  howManyProposed()
  getAllForStatut()
  getBrevesOfTheDay()
  getAllMotherLang()
  getBrevesForRubriqueId()
  getLangUsed()


Classe: BD_breve  - X-Ref

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

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

BD_breve()   X-Ref
DB_breve constructor.


getBreveId()   X-Ref
Returns the breve ID

return: int

setBreveId($breveId)   X-Ref
Sets the breve ID

param: int

getDateHeure()   X-Ref
Returns the Time

return: Date

setDateHeure($dateHeure)   X-Ref
Sets the Time

param: 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

getLienTitre()   X-Ref
Returns the Title link

return: String

setLienTitre($lienTitre)   X-Ref
Sets the Title Link

param: String

getLienUrl()   X-Ref
Returns the URL

return: String

setlienUrl($lienUrl)   X-Ref
Sets the URL

return: String

getStatut()   X-Ref
Returns the Statute

return: String

setStatut($statut)   X-Ref
Sets the Statute

param: String

getRubriqueId()   X-Ref
Returns the Heading ID

return: int

setRubriqueId($rubriqueId)   X-Ref
Sets the heading ID

param: int

getRubriqueIdsHisto()   X-Ref
Pas de description

getMajDate()   X-Ref
Returns the last Update

return: Date

setMajDate($majDate)   X-Ref
Returns the last upDate

return: Date

getExtra()   X-Ref
Returns the extra field

return: String

setLang($lang)   X-Ref
Returns the lang

return: String

getLang()   X-Ref
Pas de description

setExtra($extra)   X-Ref
Returns the extra field

return: String

getLangChoisie()   X-Ref
get Lang functions activation.


setLangChoisie($langChoisie)   X-Ref
Set Lang functions activation.


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


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


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

param: int $idBreve id of breve to load

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

param: int $breveID of breve to delete

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

param: $row    resultset row

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


deleteRubriqueAndMajDate($rubrique, $mydate)   X-Ref
This method is used to delete all breves which do not belong to the headings and former to mydate


deleteStatusAndMajDate($statut, $mydate)   X-Ref
This method is used to delete all breves which have statute $statut and former to mydate

param: $statut
param: $mydate

getAllRubriqueId()   X-Ref
Pas de description

getAllBreveId()   X-Ref
Pas de description

getRubriqueIdsByStatus($statut)   X-Ref
Pas de description

getMaxDateHeure($id_rubrique, $statut)   X-Ref
Pas de description

howManyBreveForRubrique($id_rubrique)   X-Ref
Pas de description

howManyBreve($status)   X-Ref
Pas de description

HowManyBreveForMot($conf_mot, $aff_articles, $statut)   X-Ref
Pas de description

howManyBreveIdForStatut($statut)   X-Ref
Pas de description

getAllForRubriqueIds($rubriques)   X-Ref
Returns an array of Breve.

param: $rubriques
return: Array of Breve

getToday($month, $year)   X-Ref
Returns an array of Breve representing
the current day published breves.

param: $month
param: $year
return: Array of Breve

isStatus($status)   X-Ref
Pas de description

updateSecteursForRubriques($id_secteur,$rubriques_totales)   X-Ref
Pas de description

updateDateAndStatusForBreve($statut,$id_breve)   X-Ref
Pas de description

updateDateForBreveId($date,$id_breve)   X-Ref
Pas de description

getAllDocumentsLies($id_breve, $mode, $docs_exclus = "", $id_doublons = null)   X-Ref
Returns an array of Document Id.

param: $id_breve
return: Array of Document Id

addBookmark($id_auteur)   X-Ref
Pas de description

deleteBookmark($id_auteur)   X-Ref
Pas de description

isBookmark($id_auteur)   X-Ref
Pas de description

howManyProposed()   X-Ref
This method returns the number of proposed breves

return: int

getAllForStatut($statut, $orderBy = null, $desc = null, $limitDebut = null, $limitFin = null)   X-Ref
Returns an array of Breve.

param: $statut
return: Array of Breve

getBrevesOfTheDay($date)   X-Ref
Returns an array of Breves Of The Day..

param: $date
return: Array of Breve

getAllMotherLang()   X-Ref
This method return la langue des rubriques mere pour chaque breve fils

return: Array

getBrevesForRubriqueId($rubriqueId, $orderBy = null, $desc = null, $limitDebut = null, $limitFin = null)   X-Ref
Returns an array of Breves Of The Day..

param: $date
return: Array of Breve

getLangUsed()   X-Ref
This method return la liste des langues utilisés par les breves.

return: Array



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