tangra logo
   
[ class tree: tangra_lib ] [ index: tangra_lib ] [ all elements ]
 

Source for file i_dynamic_viewable.class.php

Documentation is available at i_dynamic_viewable.class.php

  1. <?php
  2. // *** Tangra (Application Framework and Tools for PHP)
  3. //  $Id$
  4. //
  5.  
  6. /**
  7.  * Contains interface I_Dynamic_Viewable
  8.  *
  9.  *
  10.  * @package tangra_lib
  11.  * @subpackage interfaces
  12.  *
  13.  */
  14.  
  15. /**
  16.  *
  17.  */
  18. require_once(TANGRA_MAIN_DIR.'web_site/tple_exports.class.php');
  19.  
  20.  
  21. /**
  22.  * Shows that this class is dynamically vieable
  23.  *
  24.  * @package tangra_lib
  25.  * @subpackage interfaces
  26.  */
  27. interface I_Dynamic_Viewable {
  28.  
  29.     /**
  30.      * Returns HTML representation of the object
  31.      *
  32.      * Normally such classes have to use Template engine (tple) to fetch the HTML using exports $exports
  33.      *
  34.      * @param TPLE_Exports $exports 
  35.      */
  36.     public function get_html(TPLE_Exports $exports);
  37. }