Definition at line 34 of file context_menu.inc.
◆ ContextMenuItem()
ContextMenuItem::ContextMenuItem |
( |
|
$command_id, |
|
|
|
$text, |
|
|
|
$action, |
|
|
|
$icon = "" , |
|
|
|
$isURL = true |
|
) |
| |
◆ draw()
ContextMenuItem::draw |
( |
| ) |
|
Definition at line 51 of file context_menu.inc.
55 $output =
"<img src='{$this->icon}' alt='' style='float: left; margin: 2px 0px 0px 1px'/>";
61 $output .=
"<a href='{$this->action}'>";
65 $output .=
"<a href=\"#\" onclick=\"{$this->action}; return false;\">";
◆ $action
◆ $command_id
ContextMenuItem::$command_id |
◆ $icon
◆ $isURL
◆ $text
The documentation for this class was generated from the following file: