Pelzini

This is the code documentation for the Pelzini project

function createFromDatabase()

Creates a tree based on a set of nodes in the database

Usage

unknown RootTreeNode::createFromDatabase ( resource $res , string $id_col , string $parent_col );

Authors

Arguments

  1. resource $res
    A database resource created with db_query
  2. string $id_col
    The name of the identification column in the database query
  3. string $parent_col
    The name of the column in the database that references the id column of another record