public function addNodeExtra($id, $side, $extra)
{
$id = $this->_tree->nodeId($id);
if (!is_array($extra)) {
$extra = array($extra);
}
$col_count = count($extra);
switch ($side) {
case Horde_Tree_Renderer::EXTRA_LEFT:
$this->_extra[$id][Horde_Tree_Renderer::EXTRA_LEFT] = $extra;
if ($col_count > $this->_colsLeft) {
$this->_colsLeft = $col_count;
}
break;
case Horde_Tree_Renderer::EXTRA_RIGHT:
$this->_extra[$id][Horde_Tree_Renderer::EXTRA_RIGHT] = $extra;
if ($col_count > $this->_colsRight) {
$this->_colsRight = $col_count;
}
break;
}
}