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

(pas de description)

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

Définit 1 class

NestedSetHelper_NestedSet:: (3 méthodes):
  NestedSetHelper_NestedSet()
  getBranch()
  _getNodeObject()


Classe: NestedSetHelper_NestedSet  - X-Ref

Wrapper class for DB_NestedSet_DB class

NestedSetHelper_NestedSet($db, $params)   X-Ref
Pas de description

getBranch($id, $keepAsArray = false, $aliasFields = true)   X-Ref
Fetch the whole branch where a given node id is in

param: int  $id The node ID
param: bool $keepAsArray (optional) Keep the result as an array or transform it into
param: bool $aliasFields (optional) Should we alias the fields so they are the names
return: mixed False on error, or an array of nodes

_getNodeObject($id)   X-Ref
Gets the node to work on based upon an id

param: mixed $id The id which can be an object or integer
return: mixed The node object for an id or false on error



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