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

Source for file ElementSetInterface.php

Documentation is available at ElementSetInterface.php

  1. <?php
  2. /**
  3.  * An interface to make loading element sets consistent.
  4.  *
  5.  * @author    Scott Mattocks
  6.  * @package   Structures_Form
  7.  * @license   PHP License
  8.  * @version   0.8.0devel
  9.  * @copyright Copyright 2006 Scott Mattocks
  10.  */
  11.  
  12.     /**
  13.      * Returns an array of element names, classes and files.
  14.      *
  15.      * The return array should look like:
  16.      *   // Create an array elements.
  17.      *   $elements = array(
  18.      *                     array('text',
  19.      *                           'Structures_Form_Element_GtkText',
  20.      *                           'Structures/Form/Element/GtkText.php'
  21.      *                           ),
  22.      *                     array('password',
  23.      *                           'Structures_Form_Element_GtkPassword',
  24.      *                           'Structures/Form/Element/GtkPassword.php'
  25.      *                           ),
  26.      *                     array('submit',
  27.      *                           'Structures_Form_Element_GtkSubmit',
  28.      *                           'Structures/Form/Element/GtkSubmit.php'
  29.      *                                  ),
  30.      *                     array('cancel',
  31.      *                           'Structures_Form_Element_GtkCancel',
  32.      *                           'Structures/Form/Element/GtkCancel.php'
  33.      *                           )
  34.      *                     );
  35.      *
  36.      * @static
  37.      * @access public
  38.      * @return array 
  39.      */
  40.     public function getElementSet();
  41.  
  42.     /**
  43.      * Returns an array of data defining the default renderer.
  44.      *
  45.      * The return array should look like:
  46.      *        return  array('class' => 'Structures_Form_Renderer_Gtk2Table',
  47.      *                      'path'  => 'Structures/Form/Renderer/Gtk2Table.php'
  48.      *                      );
  49.      *
  50.      * @static
  51.      * @public
  52.      * @return array array(class => <classname>, path => <path>);
  53.      */
  54.     public function getDefaultRenderer();
  55. }
  56. ?>

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