| [ Index ] |
PHP Cross Reference of Quick Form DataBase |
[Summary view] [Print] [Text view]
1 <?php 2 if (!defined('QFDB_SECURITY')) { 3 die("You can't access this file directly..."); 4 } 5 6 7 8 /** 9 * Graphic QFDB Object: print any content in HTML 10 * 11 * @author Everaldo Wanderlei Uavniczak <everaldouav [at] gmail.com> 12 * @since 0.4 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_literal { 20 21 static function obj_struct(&$qfdb) 22 { 23 $qfdb->m['object'] = 'literal'; // string (fixed) 24 $qfdb->m['status'] = '12345'; // string 25 $qfdb->m['if'] = ''; // string 26 $qfdb->m['alias'] = ''; // string 27 28 $qfdb->m['content'] = ''; // string 29 30 $qfdb->m['object_properties'] = count($qfdb->m) +2; // int 31 } // end obj_struct() 32 33 34 35 static function obj_html(&$qfdb) 36 { 37 $qfdb->add_output('html', "\n".$qfdb->m['content']."\n"); 38 } // end obj_html() 39 40 41 42 static function obj_db(&$qfdb) 43 { 44 self::obj_html($qfdb); 45 } // end obj_db() 46 47 48 49 static function obj_debug(&$qfdb) 50 { 51 } // end obj_debug() 52 53 54 55 static function obj_fixed(&$qfdb) 56 { 57 } // end func 58 59 } // end class
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Fri Nov 14 17:48:13 2008 | Cross-referenced by PHPXref 0.7 |