| [ PHPXref.com ] | [ Generated: Sun Jul 20 16:35:25 2008 ] | [ bBlog 0.7.6 ] |
| [ Index ] [ Variables ] [ Functions ] [ Classes ] [ Constants ] [ Statistics ] | ||
[Summary view] [Print] [Text view]
1 <?php 2 // function.header.php 3 // 4 // Written by Reverend Jim <jim@revjim.net> 5 // 6 /* 7 ** bBlog Weblog http://www.bblog.com/ 8 ** Copyright (C) 2003 Eaden McKee <email@eadz.co.nz> 9 ** 10 ** This program is free software; you can redistribute it and/or modify 11 ** it under the terms of the GNU General Public License as published by 12 ** the Free Software Foundation; either version 2 of the License, or 13 ** (at your option) any later version. 14 ** 15 ** This program is distributed in the hope that it will be useful, 16 ** but WITHOUT ANY WARRANTY; without even the implied warranty of 17 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 ** GNU General Public License for more details. 19 ** 20 ** You should have received a copy of the GNU General Public License 21 ** along with this program; if not, write to the Free Software 22 ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 23 */ 24 function identify_function_header () { 25 $help = ' 26 <p>the {header} function is used to set arbitrary HTTP headers. It takes the following parameters:<br /> 27 <br /> 28 header: the header to send<br />'; 29 30 return array ( 31 'name' =>'header', 32 'type' =>'function', 33 'nicename' =>'Header', 34 'description' =>'Sets an arbitrary HTTP header', 35 'authors' =>'Reverend Jim <jim@revjim.net>', 36 'licence' =>'GPL', 37 'help' => $help 38 ); 39 } 40 function smarty_function_header($params, &$bBlog) { 41 42 header($params['header']); 43 44 return ''; 45 46 } 47
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| [ Powered by PHPXref - Served by Debian GNU/Linux ] |