File/extensions/html/classes/HTML.class.php

Description

XOAD HTML Class file.

This file defines the XOAD_HTML Class.

Example:

  1. <?php
  2.  
  3. class Update
  4. {
  5. function ui()
  6. {
  7. sleep(1);
  8.  
  9. $content =& XOAD_HTML::getElementById('content');
  10.  
  11. $content->innerHTML = 'Hello World! How are you?';
  12. }
  13. }
  14.  
  15. define('XOAD_AUTOHANDLE', true);
  16.  
  17. require_once('xoad.php');
  18.  
  19. ?>
  20. <?= XOAD_Utilities::header('.') ?>
  21.  
  22. <div id="content">Hello!</div>
  23.  
  24. <script type="text/javascript">
  25.  
  26. var obj = <?= XOAD_Client::register(new Update()) ?>;
  27.  
  28. obj.ui(xoad.asyncCall);
  29.  
  30. </script>

Classes
Class Description
 class XOAD_HTML XOAD HTML Class.
Constants
XOAD_HTML_CURRENT_VALUE = '<![xoadHtml:currentValue[' (line 86)

Defines the string that is replaced with the current value of the field.

Example:

  1. <?php
  2.  
  3. class Update
  4. {
  5. function ui()
  6. {
  7. sleep(1);
  8.  
  9. $content =& XOAD_HTML::getElementById('content');
  10.  
  11. $content->innerHTML = XOAD_HTML_CURRENT_VALUE . ' How are you?';
  12. }
  13. }
  14.  
  15. define('XOAD_AUTOHANDLE', true);
  16.  
  17. require_once('xoad.php');
  18.  
  19. ?>
  20. <?= XOAD_Utilities::header('.') ?>
  21. <div id="content">Hello!</div>
  22. <script type="text/javascript">
  23.  
  24. var obj = <?= XOAD_Client::register(new Update()) ?>;
  25.  
  26. obj.ui(xoad.asyncCall);
  27.  
  28. </script>

Documentation generated on Sat, 12 Nov 2005 20:24:11 +0200 by phpDocumentor 1.3.0RC3