Structures_Form
[ class tree: Structures_Form ] [ index: Structures_Form ] [ all elements ]

Class: Structures_Form_ElementSetInterface

Source Location: /Structures_Form-0.8.0devel/Form/ElementSetInterface.php

Class Overview


An interface to make loading element sets consistent.


Author(s):

  • Scott Mattocks

Version:

  • 0.8.0devel

Copyright:

  • Copyright 2006 Scott Mattocks

Methods


Inherited Variables

Inherited Methods


Class Details

[line 11]
An interface to make loading element sets consistent.
  • Author: Scott Mattocks
  • Version: 0.8.0devel
  • Copyright: Copyright 2006 Scott Mattocks
  • License: PHP


[ Top ]


Method Detail

getDefaultRenderer   [line 55]

array getDefaultRenderer( )

Returns an array of data defining the default renderer.

The return array should look like: return array('class' => 'Structures_Form_Renderer_Gtk2Table', 'path' => 'Structures/Form/Renderer/Gtk2Table.php' );

  • Return: array(class => <classname>, path => <path>);
  • Public:
  • Access: public

[ Top ]

getElementSet   [line 41]

array getElementSet( )

Returns an array of element names, classes and files.

The return array should look like: // Create an array elements. $elements = array( array('text', 'Structures_Form_Element_GtkText', 'Structures/Form/Element/GtkText.php' ), array('password', 'Structures_Form_Element_GtkPassword', 'Structures/Form/Element/GtkPassword.php' ), array('submit', 'Structures_Form_Element_GtkSubmit', 'Structures/Form/Element/GtkSubmit.php' ), array('cancel', 'Structures_Form_Element_GtkCancel', 'Structures/Form/Element/GtkCancel.php' ) );

  • Access: public

[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:44:12 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.