Recommend this page to a friend! |
Download .zip |
Info | View files (3) | Download .zip | Reputation | Support forum (1) | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2012-07-30 (4 years ago) | Not enough user ratings | Total: 448 | All time: 5,886 This week: 1,166 |
Version | License | PHP version | Categories | |||
header-from-folders 1.0 | GNU General Publi... | 5.0 | HTML, PHP 5 |
Description | Author | |||||||||||||
This class can generate HTML pages with custom JavaScript and CSS. |
|
/* * 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>') */ |
Files |
File | Role | Description |
---|---|---|
demo.php | Example | Demo File |
header.class.php | Class | main file |
README | Doc. | readme file |
header-from-folders-2012-07-30.zip 2KB | |
header-from-folders-2012-07-30.tar.gz 1KB | |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
User Comments (1) | |||||
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.