phpDocumentor form
[ class tree: form ] [ index: form ] [ all elements ]

Source for file Layout.php

Documentation is available at Layout.php

  1. <?
  2. /**
  3. * The Form Layout resource file.
  4. * The layout resources for the Form package
  5. *
  6. * @package form
  7. * @filesource
  8. * @see HTML_FORM_RESOURCE_PATH/Layout.php
  9. * @copyright (c) http://Finn-Rasmussen.com
  10. * @license http://Finn-Rasmussen.com/license/ myPHP License conditions
  11. * @author http://Finn-Rasmussen.com
  12. * @version 1.9
  13. * @since 21-oct-2005
  14. */
  15.  
  16. /**
  17. * @global FORM_VIEW_WIDTH TThe Form View, to show as a table
  18. */
  19. if (!defined('FORM_VIEW_WIDTH')) {
  20. define('FORM_VIEW_WIDTH', DEFAULT_FORM_VIEW_WIDTH);
  21. }
  22. if (!defined('FORM_VIEW_BORDER')) {
  23. define('FORM_VIEW_BORDER', DEFAULT_FORM_VIEW_BORDER);
  24. }
  25. if (!defined('FORM_VIEW_CLASS')) {
  26. define('FORM_VIEW_CLASS', CSS_FORM_VIEW.' '.CSS_BORDER);
  27. }
  28. if (!defined('FORM_VIEW_CELLPADDING')) {
  29. define('FORM_VIEW_CELLPADDING', DEFAULT_FORM_VIEW_CELLPADDING);
  30. }
  31. if (!defined('FORM_VIEW_CELLSPACING')) {
  32. define('FORM_VIEW_CELLSPACING', DEFAULT_FORM_VIEW_CELLSPACING);
  33. }
  34.  
  35. $DEFINE_LAYOUT_FORM_VIEW =
  36. array(
  37. 'ARRAY_NAME'=>'$DEFINE_LAYOUT_FORM_VIEW',
  38. 'FORM_VIEW_WIDTH'=>FORM_VIEW_WIDTH,
  39. 'FORM_VIEW_BORDER'=>FORM_VIEW_BORDER,
  40. 'FORM_VIEW_CLASS'=>FORM_VIEW_CLASS,
  41. 'FORM_VIEW_CELLPADDING'=>FORM_VIEW_CELLPADDING,
  42. 'FORM_VIEW_CELLSPACING'=>FORM_VIEW_CELLSPACING,
  43. );
  44. ?>

Documentation generated on Thu, 22 Dec 2005 17:12:36 +0100 by phpDocumentor 1.3.0RC3