Class PropertyEditor

(line 297)

Description

Object
   |
   --PropertyEditor

Located in File: /designide.inc.php

Base class for property editors

Use this class if you want to wrote Property Editors in pure PHP.



Classes extended from PropertyEditor:
ColorPropertyEditor
Editor for Color properties
StringListPropertyEditor
Property Editor for StringLists
ArrayPropertyEditor
Array editor
ItemsPropertyEditor
Items property editor, for menus and treeviews
HTMLPropertyEditor
HTML property editor, for captions and so on
ImagePropertyEditor
Image property editor - not finished

Properties

Summary:
Attributes Return specific attributes for the OI
OutputPath If required, returns a path to become the document root for the webserver to call the property editor

property Attributes (line 310)

array Attributes

Return specific attributes for the OI

Override this method and return an array of properties to specify the IDE how to show and handle this property editor.

Info


property OutputPath (line 322)

string OutputPath

If required, returns a path to become the document root for the webserver to call the property editor

If your property editor requires some POST, is better to provide a document root to the IDE so it knows how to work.


Methods

Summary:
Execute Executes the property editor

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 Execute (line 336)

void Execute( string $current_value)

Executes the property editor

This method is called when executing a property editor from the IDE, and in $current_value, you get the property value in string format.

Parameters

  • string $current_value: Current property value

Events

Summary:

[none]

Javascript Events

Summary:

[none]

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