/*
* imdb.class.php
*
* Copyright 2012 Tiago André <geral.t8bit@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301, USA.
*
*
*/
/*
* This class adds to the header the content files of the folder css and js
*
*
* Usage:
* $header=new header('My title');
* $header->show();
* Doing that you will recive an object with the movie information,
*
* Aditional options
* * $header=new header('My title','jsFolder','CssFolder','doctype','charset');
* *
* * or you can set the parameters
* * $header->set('JS_files','app/js');
* * $header->set('CSS_files','app/css');
* * $header->set('doctype','<!DOCTYPE html>');
* * $header->set('charset','utf8');
*
* * Add a new parameter to header
* * $header->add('<script>alert('new param');</script>')
*/
|