You are here

function uc_treeNode::uc_treeNode in Ubercart 5

File

uc_catalog/uc_catalog.module, line 25
Übercart Catalog module.

Class

uc_treeNode
Data structure to mimic Drupal's menu system.

Code

function uc_treeNode($term = null) {
  if ($term) {
    $this->tid = $term->tid;
    $this->name = $term->name;
    $this->depth = $term->depth;
    $this->sequence = $term->sequence;
  }
}