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

(pas de description)

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

Définit 1 class

BD_syndic_articles:: (29 méthodes):
  factory()
  BD_syndic_articles()
  getSyndicArticleId()
  setSyndicArticleid()
  getSyndicid()
  setSyndicid()
  getTitre()
  setTitre()
  getUrl()
  setUrl()
  getDate()
  setDate()
  getLesAuteurs()
  setLesAuteurs()
  getMaj()
  setMaj()
  getStatut()
  setStatut()
  getDescriptif()
  setDescriptif()
  create()
  update()
  load()
  getSyndicArticleForUrl()
  delete()
  _fetchData()
  howManySyndicArticleIdForSyndicId()
  howManySyndicArticleIdForStatut()
  getAllForSyndicId()


Classe: BD_syndic_articles  - X-Ref

BD_syndic_articles is a base class for syndic articles 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_articles()   X-Ref
DB_syndic_articles constructor.


getSyndicArticleId()   X-Ref
Returns the Syndic Article ID

return: int

setSyndicArticleid($syndicArticleId)   X-Ref
Sets the Syndic Article ID

param: int

getSyndicid($syndicId)   X-Ref
Returns the Syndic ID

param: int

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

param: int

getTitre()   X-Ref
Returns the title of the syndic article

return: String

setTitre($titre)   X-Ref
Sets the title of the syndic article

param: String

getUrl()   X-Ref
Returns url of the syndicated article

return: String

setUrl($url)   X-Ref
Sets url of the syndicated article

param: String

getDate()   X-Ref
Returns the date of syndication

return: Date

setDate($date)   X-Ref
Sets the date of syndication

param: Date

getLesAuteurs()   X-Ref
Returns the authors of the syndicated article

return: String

setLesAuteurs($lesAuteurs)   X-Ref
Sets the authors of the syndicated article

param: String

getMaj()   X-Ref
Returns the syndicated article update date

return: Date

setMaj($maj)   X-Ref
Sets the syndicated article update date

param: Date

getStatut()   X-Ref
Returns statut of the syndicated article

return: String

setStatut($statut)   X-Ref
Sets statut of the syndicated article

param: String

getDescriptif()   X-Ref
Returns the description of the syndicated article

return: String

setDescriptif($descriptif)   X-Ref
Sets the description of the syndicated article

param: String

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


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


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

param: int $syndicId ID of syndication to load

getSyndicArticleForUrl($url, $idSyndic)   X-Ref
This method is used to get a syndicated article for a specific url and an ID of syndication

param: String $url url to get
param: int $idSyndic ID of syndication to get

delete($id_syndic)   X-Ref
This method is used to delete a syndicated article 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

howManySyndicArticleIdForSyndicId($id_syndic)   X-Ref
This method is used to count the syndicated articles for a specific syndication ID

param: int $id_syndic ID of syndication to see

howManySyndicArticleIdForStatut($statut)   X-Ref
This method is used to count the syndicated articles for a specific statut

param: String $statut the statut to see

getAllForSyndicId($id_object, $critere)   X-Ref
This method is used to get all syndicated articles for a specific criteria and an ID of syndication

param: String $url url to get
param: int $idSyndic ID of syndication to get



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