Source for file field.php

Documentation is available at field.php

  1. <?php
  2. /**
  3.  * @package     FrameworkOnFramework
  4.  * @subpackage  form
  5.  * @copyright   Copyright (C) 2010 - 2012 Akeeba Ltd. All rights reserved.
  6.  * @license     GNU General Public License version 2 or later; see LICENSE.txt
  7.  */
  8. // Protect from unauthorized access
  9. defined('_JEXEC'or die;
  10.  
  11. /**
  12.  * Generic interface that a FOF form field class must implement
  13.  *
  14.  * @package  FrameworkOnFramework
  15.  * @since    2.0
  16.  */
  17. interface FOFFormField
  18. {
  19.     /**
  20.      * Get the rendering of this field type for static display, e.g. in a single
  21.      * item view (typically a "read" task).
  22.      *
  23.      * @return  string  The field HTML
  24.      *
  25.      * @since 2.0
  26.      */
  27.     public function getStatic();
  28.  
  29.     /**
  30.      * Get the rendering of this field type for a repeatable (grid) display,
  31.      * e.g. in a view listing many item (typically a "browse" task)
  32.      *
  33.      * @return  string  The field HTML
  34.      *
  35.      * @since 2.0
  36.      */
  37.     public function getRepeatable();
  38. }

Documentation generated on Tue, 19 Nov 2013 15:02:59 +0100 by phpDocumentor 1.4.3