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

(pas de description)

Poids: 561 lignes (16 kb)
Inclus ou requis: 1 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

BD_metier:: (17 méthodes):
  BD_metier()
  getDbParameters()
  setDbParameters()
  getDbOptions()
  setDbOptions()
  _traiteQuery()
  _getDB()
  _getNestedSetInstance()
  _pearIncluded()
  corriger_caracteres()
  corriger_null()
  updateRelatedObjects()
  getUrl()
  accept()
  getChildObject()
  ImportUpdate()
  Insert()


Classe: BD_metier  - X-Ref

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

BD_metier()   X-Ref
Pas de description

getDbParameters()   X-Ref
Getter method to retreive the instance Parameters object

return: DB parameters

setDbParameters($dbParameters)   X-Ref
Setter method to set the instance Parameters object

param: $dbParameters     new DB parameters

getDbOptions()   X-Ref
Getter method to retreive the instance Options array

return: array

setDbOptions($dbOptions)   X-Ref
Setter method to set the instance Parameters object

param: array     array of PEAR::DB options

_traiteQuery($query)   X-Ref
Pas de description

_getDB($dbParameters = null)   X-Ref
Protected method used to get an PEAR::DB instance
using the parameters stored in the _dbParameters field

return: Newly creating PEAR::DB object

_getNestedSetInstance()   X-Ref
This method returns a configured ready-to-use DB_NestedSet/NestedSet instance

return: NestedSet instance

_pearIncluded()   X-Ref
Protected method used to check whether we are
in the fast pear-less mode.

return: true if PEAR has been included, false otherwise

corriger_caracteres($texte)   X-Ref
Pas de description

corriger_null($texte)   X-Ref
Pas de description

updateRelatedObjects()   X-Ref
Pas de description

getUrl($edit = false)   X-Ref
Pas de description

accept(&$renderer)   X-Ref
Pas de description

getChildObject($objectname)   X-Ref

param: string objectname
return: object

ImportUpdate($type, $from, $to)   X-Ref
Replace one row in DB, used when importing xml data
Called by inc_import.php

param: array $from
param: array $to
return: Boolean

Insert($type, $from, $to)   X-Ref
Insert rows in DB, used when importing xml data
Called by inc_import.php

param: string $from
param: string $to
return: Boolean



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