| [ 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 LINK Tag to insert a Shortcut Icon in the 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 * @link http://w3schools.com/tags/tag_link.asp 15 * @license BSD License <http://www.qfdb.net/bsd_license.txt> 16 */ 17 18 19 20 class qfdbobj_headicon { 21 22 static public function obj_struct(&$qfdb) 23 { 24 $qfdb->m['object'] = 'headicon'; // string (fixed) 25 $qfdb->m['status'] = '12345'; // string 26 $qfdb->m['if'] = ''; // string 27 $qfdb->m['alias'] = 'head_icon'; // string 28 29 $qfdb->m['href'] = ''; // string 30 $qfdb->m['object_properties'] = count($qfdb->m) +2; // int 31 } // end obj_struct() 32 33 34 35 static public function obj_html(&$qfdb) 36 { 37 $object = $qfdb->get_indent().'<link rel="icon" href="'.$qfdb->m['href'].'" type="image/x-icon" />'."\n". 38 $qfdb->get_indent().'<link rel="shortcut icon" href="'.$qfdb->m['href'].'" type="image/x-icon" />'."\n"; 39 40 $qfdb->add_output('html', $object); 41 } // end obj_html() 42 43 44 45 static public function obj_db(&$qfdb) 46 { 47 self::obj_html($qfdb); 48 } // end obj_db() 49 50 51 52 static public function obj_debug(&$qfdb) 53 { 54 } // end obj_debug() 55 56 57 58 static public function obj_fixed(&$qfdb) 59 { 60 } // end obj_fixed() 61 62 } // 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 |