Class ComponentEditor

(line 346)

Description

Object
   |
   --ComponentEditor

Located in File: /designide.inc.php

Base class for component editors


Classes extended from ComponentEditor:
DatabaseEditor
Database component editor, to show right-click menu options

Properties

Summary:
Verbs Return here an array of items to show when right clicking a component

property Verbs (line 361)

array Verbs

Return here an array of items to show when right clicking a component

Use this method to return the IDE the array of options to show when the user right clicks a component. Each element on the array will become an item on the popup menu shown. If you want to perform an specific action when clicking on an option, use the executeVerb method.


Methods

Summary:
executeVerb Depending on the verb, perform any action you want

Defined in class Object

__construct Constructs an object and initializes its data before the object is first used.
className Returns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument).
classParent Returns the type of the immediate ancestor of a class.

Method executeVerb (line 378)

void executeVerb( integer $verb)

Depending on the verb, perform any action you want

This method is called by the IDE when the user selects an option of the popup menu shown when the user right clicks on it.

The option the user selects is specified on the $verb param and you must use the getVerbs method to tell the IDE which options to show.

Parameters

  • integer $verb: Index of the verb the IDE wants to execute

Events

Summary:

[none]

Javascript Events

Summary:

[none]

Documentation generated on Fri, 26 Dec 2008 11:44:53 +0100 by phpDocumentor 1.4.0a2