[ Index ]

PHP Cross Reference of Quick Form DataBase

title

Body

[close]

/objects/ -> qfdbobj_htmlfoot.php (source)

   1  <?php
   2  if (!defined('QFDB_SECURITY')) {
   3      die("You can't access this file directly...");
   4  }
   5  
   6  
   7  /**
   8   * Struct QFDB Object: print end of BODY and HTML Tag and put JavaScript content in Document
   9   *
  10   * @author Everaldo Wanderlei Uavniczak <everaldouav [at] gmail.com>
  11   * @since 0.5
  12   * @package quickformdb
  13   * @see http://www.qfdb.net/
  14   * @license BSD License <http://www.qfdb.net/bsd_license.txt>
  15   */
  16  
  17  
  18  
  19  class qfdbobj_htmlfoot {
  20  
  21      static public function obj_struct(&$qfdb)
  22      {
  23          $qfdb->m['object'] = 'htmlfoot'; // string (fixed)
  24          $qfdb->m['status'] = '12345'; // string
  25          $qfdb->m['if'] = ''; // string
  26          $qfdb->m['alias'] = ''; // string
  27          $qfdb->m['printjs'] = 'true';
  28  
  29          $qfdb->m['object_properties'] = count($qfdb->m) +2; // int
  30      } // end obj_struct()
  31  
  32  
  33  
  34      static public function obj_html(&$qfdb)
  35      {
  36          if ($qfdb->m['printjs'] == 'true') {
  37              $qfdb->output_js();
  38          }
  39          $qfdb->add_output('html', "\n\n</body>\n</html>\n\n\n");
  40      } // end obj_html()
  41  
  42  
  43  
  44      static public function obj_db(&$qfdb)
  45      {
  46          self::obj_html($qfdb);
  47      } // end obj_db()
  48  
  49  
  50  
  51      static public function obj_debug(&$qfdb)
  52      {
  53          if ($qfdb->m['printjs'] !== 'false') {
  54              $qfdb->m['printjs'] = 'true';
  55          }
  56      } // end obj_debug()
  57  
  58  
  59  
  60      static public function obj_fixed(&$qfdb)
  61      {
  62      } // end obj_fixed()
  63  
  64  } // end class


Generated: Fri Nov 14 17:48:13 2008 Cross-referenced by PHPXref 0.7