| [ 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 * Struct QFDB Object: print end of HEAD and beggin of BODY tag 9 * 10 * @author Everaldo Wanderlei Uavniczak <everaldouav [at] gmail.com> 11 * @since 0.5 12 * @package quickformdb 13 * @see http://www.qfdb.net/ 14 * @link http://w3schools.com/tags/tag_body.asp 15 * @license BSD License <http://www.qfdb.net/bsd_license.txt> 16 * @todo print JavaScript before HEAD, if needed 17 */ 18 19 20 21 class qfdbobj_body { 22 23 static public function obj_struct(&$qfdb) 24 { 25 $qfdb->m['object'] = 'body'; // string (fixed) 26 $qfdb->m['status'] = '12345'; // string 27 $qfdb->m['if'] = ''; // string 28 $qfdb->m['alias'] = 'body'; // string 29 30 $qfdb->m['others'] = ''; // string 31 32 $qfdb->m['object_properties'] = count($qfdb->m) +2; // int 33 } // end obj_struct() 34 35 36 37 static public function obj_html(&$qfdb) 38 { 39 $object = "</head>\n\n<body"; 40 if ($qfdb->m['others']) { 41 $object .= ' '.$qfdb->m['others']; 42 } 43 $object .= ">\n\n"; 44 45 $qfdb->add_output('html', $object); 46 } // end obj_html() 47 48 49 50 static public function obj_db(&$qfdb) 51 { 52 self::obj_html($qfdb); 53 } // end obj_db 54 55 56 57 static public function obj_debug(&$qfdb) 58 { 59 } // end obj_debug() 60 61 62 63 static public function obj_fixed(&$qfdb) 64 { 65 } // end obj_fixed() 66 67 } // 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 |