[ Index ]

PHP Cross Reference of Quick Form DataBase

title

Body

[close]

/objects/ -> qfdbobj_messagebox.php (source)

   1  <?php
   2  if (!defined('QFDB_SECURITY')) {
   3      die("You can't access this file directly...");
   4  }
   5  
   6  
   7  
   8  /**
   9   * Graphics QFDB Object: print a message box
  10   *
  11   * @author Everaldo Wanderlei Uavniczak <everaldouav [at] gmail.com>
  12   * @since 0.5
  13   * @package quickformdb
  14   * @see http://www.qfdb.net/
  15   * @license BSD License <http://www.qfdb.net/bsd_license.txt>
  16   */
  17  
  18  
  19  class qfdbobj_messagebox {
  20  
  21      static function obj_struct(&$qfdb)
  22      {
  23          $qfdb->m['object'] = 'messagebox'; // string (fixed)
  24          $qfdb->m['status'] = '12345'; // string
  25          $qfdb->m['if'] = ''; // string
  26          $qfdb->m['alias'] = ''; // string
  27  
  28          $qfdb->m['title_class'] = $qfdb->get_css_value('qfdb_messagebox_title');  // string
  29          $qfdb->m['title_others'] = '';  // string
  30          $qfdb->m['title'] = ''; // string
  31  
  32          $qfdb->m['message_class'] = $qfdb->get_css_value('qfdb_messagebox_message');  // string
  33          $qfdb->m['message_others'] = '';  // string
  34          $qfdb->m['message'] = ''; // string
  35  
  36          $qfdb->m['object_properties'] = count($qfdb->m) +2; // int
  37      } // end func
  38  
  39  
  40      static function obj_html(&$qfdb)
  41      {
  42          $qfdb->add_output('html',
  43              qfdb_themes::themes_message_box( array(
  44                  'message'=>$qfdb->m['message']."\n", 
  45                  'message_others'=>$qfdb->m['message_others'], 
  46                  'message_class'=>$qfdb->m['message_class'], 
  47                  'title'=>$qfdb->m['title'], 
  48                  'title_class'=>$qfdb->m['title_class'], 
  49                  'title_others'=>$qfdb->m['title_others']
  50              ) ));
  51      } // end func
  52  
  53  
  54      static function obj_db(&$qfdb)
  55      {
  56          self::obj_html($qfdb);
  57      } // end func
  58  
  59  
  60      static function obj_debug(&$qfdb)
  61      {
  62      } // end func
  63  
  64  
  65      static function obj_fixed(&$qfdb)
  66      {
  67      } // end func
  68  
  69  } // end class


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