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

(pas de description)

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

Définit 1 class

BD_index_articles:: (15 méthodes):
  factory()
  BD_index_articles()
  getHash()
  setHash()
  getPoints()
  setPoints()
  getArticleId()
  setArticleId()
  create()
  load()
  delete()
  deleteIndexArticleForArticleId()
  _fetchData()
  howManyIndexArticle()
  howManyIndexArticleForArticleId()


Classe: BD_index_articles  - X-Ref

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

factory($dbParameters = null, $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_index_articles()   X-Ref
DB_index_articles constructor.


getHash()   X-Ref
Returns the hash's value

return: int

setHash($hash)   X-Ref
Sets the hash's value

param: int

getPoints()   X-Ref
Returns the points' value

return: int

setPoints($points)   X-Ref
Sets the points' value

param: int

getArticleId()   X-Ref
Returns the article ID

return: int

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

param: int

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


load($articleId)   X-Ref
This method is used to load an index of articles from the database

param: int $articleId ID of article to load

delete()   X-Ref
This method is used to delete the index of articles


deleteIndexArticleForArticleId($id_objet)   X-Ref
This method is used to delete an index of articles from the database

param: int $id_objet ID of article 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

howManyIndexArticle()   X-Ref
This method is used to count how many index of articles exist


howManyIndexArticleForArticleId($id_objet)   X-Ref
This method is used to count how many index of articles exist for an article's ID

param: int $id_objet ID of artciles to see



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