function = $icon ['function']; } public function makeIcon ($itemId, $forceDisable = FALSE) { if (!$this->accessible || $forceDisable) return ''; return ''; } public function makeLink ($itemId, $forceDisable = FALSE) { if (!$this->accessible || $forceDisable) return 'href="#"'; return 'href="#" onclick="JavaScript: '. $this->function .' (\''. $itemId .'\', this);"'; } } ?>