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

(pas de description)

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

Définit 1 class

BD_syndic:: (52 méthodes):
  factory()
  BD_syndic()
  getSyndicId()
  setSyndicid()
  getRubriqueID()
  setRubriqueId()
  getRubriqueIdsHisto()
  getSecteurID()
  setSecteurId()
  getNomSite()
  setNomSite()
  getUrlSite()
  setUrlSite()
  getUrlSyndic()
  setUrlSyndic()
  getDescriptif()
  setDescriptif()
  getMajDate()
  setMajDate()
  getSyndication()
  setSyndication()
  getStatut()
  setStatut()
  getDate()
  setDate()
  getDateSyndic()
  setDateSyndic()
  getDateIndex()
  setDateIndex()
  getModeration()
  setModeration()
  create()
  update()
  load()
  delete()
  _fetchData()
  deleteMajDateAndStatut()
  getAllSyndicIds()
  getAllSyndicIdsForStatut()
  getMaxDateHeure()
  getRubriqueIDsByStatus()
  howManySyndicIdForStatut()
  howManySyndicIdForSyndication()
  updateSecteursForRubriques()
  getSyndicIdsForStatutAndDateIndex()
  getAllForSyndicationAndStatutAndIntervalHour()
  getAllSyndicForSyndicIdAndsyndication()
  unlinkAllExceptsyndicIds()
  getAllForStatut()
  howManySiteForMot()
  getAllSyndics()
  getSyndicsForRubriqueIdAndStatut()


Classe: BD_syndic  - X-Ref

BD_syndic is a base class for syndic 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 Syndic business data type.

param: BD_parameters DB connection parameters

BD_syndic()   X-Ref
DB_syndic constructor.


getSyndicId()   X-Ref
Returns the Syndication ID

return: int

setSyndicid($syndicId)   X-Ref
Sets the Syndication ID

param: int

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

getSecteurID()   X-Ref
Returns the sector ID

return: int

setSecteurId($secteurId)   X-Ref
Sets the sector ID

param: int

getNomSite()   X-Ref
Returns the Site Name

return: String

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

param: String

getUrlSite()   X-Ref
Returns Site URL

return: String

setUrlSite($urlSite)   X-Ref
Sets Site URL

param: String

getUrlSyndic()   X-Ref
Returns Syndication URL

return: String

setUrlSyndic($urlSyndic)   X-Ref
Sets Syndication URL

param: String

getDescriptif()   X-Ref
Returns description

return: String

setDescriptif($descriptif)   X-Ref
Sets description

param: String

getMajDate()   X-Ref
Returns the syndication update date

return: Date

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

param: Date

getSyndication()   X-Ref
Returns syndication

return: String

setSyndication($syndication)   X-Ref
Sets syndication

param: String

getStatut()   X-Ref
Returns statut

return: String

setStatut($statut)   X-Ref
Sets statut

param: String

getDate()   X-Ref
Returns the date ????

return: Date

setDate($date)   X-Ref
Sets the date ????

param: Date

getDateSyndic()   X-Ref
Returns Syndication date

return: Date

setDateSyndic($dateSyndic)   X-Ref
Sets Syndication date

param: Date

getDateIndex()   X-Ref
Returns Index date

return: Date

setDateIndex($dateIndex)   X-Ref
Sets Index date

param: Date

getModeration()   X-Ref
Returns moderation

return: String

setModeration($moderation)   X-Ref
Sets moderation

param: String

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


update()   X-Ref
This method is used to update a syndication in the database


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

param: int $syndicId ID of syndication to load

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

param: int $id_syndic ID of syndication to delete

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

param: int $row the row to fetch

deleteMajDateAndStatut($myDate, $statut = null)   X-Ref
This method is used to delete the update date and the statut of syndication

param: Date $myDate
param: String $statut

getAllSyndicIds()   X-Ref
This method is used to get all syndication ID


getAllSyndicIdsForStatut($statut)   X-Ref
This method is used to get all syndication ID


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

getRubriqueIDsByStatus($statut)   X-Ref
This method is used to get heading ID in the table of syndication for a specific statut

param: String $statut

howManySyndicIdForStatut($statut)   X-Ref
This method is used to count syndication ID for a specific statut

param: String $statut

howManySyndicIdForSyndication($syndic)   X-Ref
This method is used to count syndication ID for a specific syndication

param: String $syndication

updateSecteursForRubriques($id_secteur, $rubriques_totales)   X-Ref
This method is used to update sector ID for a specific heading ID

param: int $id_secteur
param: int $rubriques_totales

getSyndicIdsForStatutAndDateIndex($statut)   X-Ref
Returns an array of Syndic IDS.

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

getAllForSyndicationAndStatutAndIntervalHour($syndication, $statut, $hour)   X-Ref
Returns an array of Syndication.

param: $syndication
param: $statut
param: $hour
return: Array of Syndication

getAllSyndicForSyndicIdAndsyndication($id_syndic)   X-Ref
Returns an array of Syndication.

param: $id_syndic
return: Array of Syndication

unlinkAllExceptsyndicIds($syndicId)   X-Ref
This method is used to delete all the syndicated articles exceptfor a specific syndication ID

param: int $syndicId ID of syndication to delete

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

param: $statut
return: Array of Syndic

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

getAllSyndics()   X-Ref
Pas de description

getSyndicsForRubriqueIdAndStatut($rubriqueId, $statut, $orderBy)   X-Ref
Returns an array of Syndic.

param: $rubriqueId
param: $statut
param: $orderBy
return: Array of Syndic



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