Definition at line 86 of file context_menu.inc.
◆ command()
| ContextMenu::command |
( |
|
$id, |
|
|
|
$text, |
|
|
|
$action, |
|
|
|
$isURL = true, |
|
|
|
$icon = "" |
|
) |
| |
◆ ContextMenu()
| ContextMenu::ContextMenu |
( |
|
$id, |
|
|
|
$targets, |
|
|
|
$cssClass = "context_menu", |
|
|
|
$trigger = "contextmenu", |
|
|
|
$position = "pointer" |
|
) |
| |
◆ separator()
| ContextMenu::separator |
( |
| ) |
|
◆ writeMenu()
| ContextMenu::writeMenu |
( |
| ) |
|
Definition at line 129 of file context_menu.inc.
133 <ul
id=
"<?echo $this->id?>" class=
"<?echo $this->cssClass?>">
135 foreach($this->items as $item)
137 echo
"<li class='{$item->command_id}'>";
144 $menu = ob_get_contents();
◆ writeScript()
| ContextMenu::writeScript |
( |
| ) |
|
Definition at line 116 of file context_menu.inc.
119 <script type=
"text/javascript">
120 window.addEvent(
'domready',
function() {
121 new ContextMenu(
'$this->id',
'$this->targets',
'$this->trigger', {position:
'{$this->position}'});
◆ $cssClass
◆ $id
◆ $items
| ContextMenu::$items = array() |
◆ $position
| ContextMenu::$position = "pointer" |
◆ $targets
◆ $trigger
| ContextMenu::$trigger = "contextmenu" |
The documentation for this class was generated from the following file: