Login   Register  
PHP Classes

File: ClassTestFile/testHTMLManager.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Guerrieri Luca  >  PXAServer  >  ClassTestFile/testHTMLManager.php  >  Download  
File: ClassTestFile/testHTMLManager.php
Role: Example script
Content type: text/plain
Description: Test for HTML class
Class: PXAServer
Library to build applications configured with XML
Author: By
Last change:
Date: 7 years ago
Size: 940 bytes


Class file image Download
 * Questo file server come test per la classe HTMLManager
require ('../libreria/global.inc.php');                    //richiede la global per l'istanza delle classi'
$hm = new HTMLManager;
$hm -> set_html_header('complete_html_header');        //imposta il tipo di header che vogliamo costruire
                                                         //questo header  presente nel file libhtml.inc.php
$hm -> set_html_title('general_html_title');            //imposta il titolo della pagina
$hm -> set_html_stylesheet('html_stylesheet');            //imposta il foglio di stile per lo schermo
$hm -> set_print_stylesheet('print_stylesheet');        //imposta il foglio di stile per la stampa
$hm -> set_javascript('alert_javascript');                //imposta uno script javascript
 //$hm -> set_html_body('html_body_color');    
$hm -> set_html_footer('html_footer');                    //imposta il footer della pagina
echo $hm -> get_html_header();    
"Test della pagina";
$hm -> get_html_footer();