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

(pas de description)

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

Définit 1 class

BD_mot:: (62 méthodes):
  factory()
  BD_mot()
  getMotId()
  setMotId()
  getType()
  setType()
  getTitre()
  setTitre()
  getDescriptif()
  setDescriptif()
  getTexte()
  setTexte()
  getGroupeId()
  setGroupeId()
  getMajDate()
  setMajDate()
  getExtra()
  setExtra()
  _getNestedSet()
  _setNestedSet()
  create()
  update()
  load()
  delete()
  _fetchData()
  deleteMajDate()
  getAllMotIds()
  getAllTypes()
  updateNullType()
  updateGroupeIdForType()
  updateTypeForGroupeId()
  addMot()
  deleteForTitle()
  deleteMotTable()
  deleteMotTableForTableIdNotIn()
  deleteForTitleAndMaj()
  getAllFromMotsAndAnotherTable()
  getAllFromMotsAndAnotherTableForGroupId()
  hasMotsAndAnotherTableForGroupId()
  getAllFromAnotherTable()
  getAllForForumId()
  getAllMotIdsForRubrique()
  getAllForGroupIdAndMotId()
  getAllMotsForGroupeId()
  getAllMotsForMotId()
  exist()
  getAllMotIdsForArticleStatut()
  getAllMotIdsForBreveStatut()
  getAllMotIdsForSyndicStatut()
  getAllMotIdsForArticles()
  getAllMotIdsForBreves()
  getAllMotIdsForSyndics()
  howManyMotIdsForMotIdandArticleStatut()
  isLeaf()
  getBranch()
  getSubBranchIds()
  getParentId()
  getEnfantIds()
  getGranularityImpactedMot()
  getCheminMot()
  getHierarchie()
  howManyMotForType()


Classe: BD_mot  - X-Ref

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

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

BD_mot()   X-Ref
DB_mot constructor.


getMotId()   X-Ref
Returns the Mot ID

return: int

setMotId($motId)   X-Ref
Sets the Mot ID

param: int

getType()   X-Ref
Returns the Type

return: String

setType($type)   X-Ref
Sets the Type

param: String

getTitre()   X-Ref
Returns the word title

return: String

setTitre($titre)   X-Ref
Sets the word title

param: String

getDescriptif()   X-Ref
Returns the word description

return: String

setDescriptif($descriptif)   X-Ref
Sets the word description

param: String

getTexte()   X-Ref
Returns the word text

return: String

setTexte($texte)   X-Ref
Sets the word text

param: String

getGroupeId()   X-Ref
Returns the Group ID

return: int

setGroupeId($groupeId)   X-Ref
Sets the Group ID

param: int

getMajDate()   X-Ref
Returns the word update date

return: Date

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

param: Date

getExtra()   X-Ref
Returns the word extra fields

return: String

setExtra($extra)   X-Ref
Sets the word extra fields

param: String

_getNestedSet()   X-Ref
Returns the reference to the technical nested set object.

return: DB_NestedSet

_setNestedSet(&$nestedSet)   X-Ref
Sets the technical nested set used for tree manipulation.

param: DB_NestedSet_DB PEAR::DB implementation for compatibility

create($motId = null, $specificTTL = null)   X-Ref
Pas de description

update()   X-Ref
Pas de description

load($idMot)   X-Ref
Pas de description

delete($idMot)   X-Ref
Pas de description

_fetchData($row)   X-Ref
Pas de description

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


getAllMotIds()   X-Ref
Pas de description

getAllTypes()   X-Ref
Pas de description

updateNullType($newType)   X-Ref
Pas de description

updateGroupeIdForType($id_groupe, $type)   X-Ref
Pas de description

updateTypeForGroupeId($change_type, $id_groupe)   X-Ref
Pas de description

addMot($table, $id_table, $id_mot, $id_table_value)   X-Ref
Pas de description

deleteForTitle($titre)   X-Ref
Pas de description

deleteMotTable($table, $id_table, $id_message, $supp_mot = -1)   X-Ref
Pas de description

deleteMotTableForTableIdNotIn($table, $id_table, $values)   X-Ref
Pas de description

deleteForTitleAndMaj($titre, $mydate)   X-Ref
Pas de description

getAllFromMotsAndAnotherTable($table, $id_table, $id_objet, $orderBy = false)   X-Ref
Returns an array of Mots.

param: $table
param: $id_table
param: $id_objet
return: Array of Mot

getAllFromMotsAndAnotherTableForGroupId($table, $id_table, $id_objet, $id_groupe)   X-Ref
Returns an array of Mots.

param: $table
param: $id_table
param: $id_objet
return: Array of Mot

hasMotsAndAnotherTableForGroupId($table, $id_table, $id_objet, $id_groupe)   X-Ref
Returns an array of Mots.

param: $table
param: $id_table
param: $id_objet
return: Array of Mot

getAllFromAnotherTable($table, $id_table, $id_mot)   X-Ref
Returns an array of Mots_table.

param: $table
param: $id_table
param: $id_mot
return: Array of MotTable

getAllForForumId($id_message)   X-Ref
Returns an array of Mots.

param: $id_message
return: Array of Mot

getAllMotIdsForRubrique()   X-Ref
Returns an array of Mots.

param: $id_message
return: Array of Mot

getAllForGroupIdAndMotId($id_groupe, $les_mots = null)   X-Ref
Pas de description

getAllMotsForGroupeId($selectGroupe, $critere = false)   X-Ref
Returns an array of Mots.

param: $seidObjet
return: Array of Mot

getAllMotsForMotId($les_mots, $critere)   X-Ref
Returns an array of Mots.

param: $les_mots
param: $critere
return: Array of Mot

exist($table, $id_table, $nouv_mot, $id_objet)   X-Ref
Returns an boolean.

param: $table
param: $id_table
param: $nouv_mot
param: $id_objet
return: boolean

getAllMotIdsForArticleStatut($aff_articles, $statut)   X-Ref
Returns an array of Mots.

param: $id_message
return: Array of Mot

getAllMotIdsForBreveStatut($aff_articles, $statut)   X-Ref
Returns an array of Mots.

param: $id_message
return: Array of Mot

getAllMotIdsForSyndicStatut($aff_articles, $statut)   X-Ref
Returns an array of Mots.

param: $id_message
return: Array of Mot

getAllMotIdsForArticles($aff_articles)   X-Ref
Returns an array of Mots.

param: $id_message
return: Array of Mot

getAllMotIdsForBreves($aff_articles)   X-Ref
Returns an array of Mots.

param: $id_message
return: Array of Mot

getAllMotIdsForSyndics($aff_articles)   X-Ref
Returns an array of Mots.

param: $id_message
return: Array of Mot

howManyMotIdsForMotIdandArticleStatut($id_mot, $aff_articles, $statut)   X-Ref
Returns an array of Mots.

param: $id_message
return: Array of Mot

isLeaf()   X-Ref
This method returns true if the current keywork is a leaf in the keywords tree
false otherwise

return: boolean

getBranch($ids)   X-Ref
Pas de description

getSubBranchIds($id)   X-Ref
Pas de description

getParentId($id)   X-Ref
Pas de description

getEnfantIds($id)   X-Ref
Pas de description

getGranularityImpactedMot($motToCheck, $motsSelected)   X-Ref
Pas de description

getCheminMot()   X-Ref
This method returns the path from the root node to the current node
as an array of Mot.

return: String   path to this Mot

getHierarchie($id_mot)   X-Ref
Pas de description

howManyMotForType($type)   X-Ref
Returns Count the number of words for a type of content

param: String $type
return: int The number of words



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