Solução Gráfica Design SGD
[ class tree: SGD ] [ index: SGD ] [ all elements ]

How to use this class.

  1. <?php
  2. /* vim: set expandtab tabstop=4 shiftwidth=4: */
  3. //
  4. // +----------------------------------------------------------------------+
  5. // | PHP version 4                                                        |
  6. // +----------------------------------------------------------------------+
  7. // | Copyright (c) 1997-2005 The PHP Group                                |
  8. // +----------------------------------------------------------------------+
  9. // | This source file is subject to version 2.0 of the PHP license,       |
  10. // | that is bundled with this package in the file LICENSE, and is        |
  11. // | available through the world-wide-web at                              |
  12. // | http://www.php.net/license/2_02.txt.                                 |
  13. // | If you did not receive a copy of the PHP license and are unable to   |
  14. // | obtain it through the world-wide-web, please send a note to          |
  15. // | license@php.net so we can mail you a copy immediately.               |
  16. // +----------------------------------------------------------------------+
  17. // | Authors: Antonio Jozzolino <info@sgd.com.br>                         |
  18. // +----------------------------------------------------------------------+
  19. //
  20. // $Id: RSSerrorExample.php,v 1.4 2006/11/24 17:18:59 Antonio Jozzolino Exp $
  21. //
  22.  
  23. /**
  24.  * RSSerror class file example
  25.  */
  26. include_once('RSSerror.php');
  27.  
  28. $args  array"root"        => "/home/user/public_html/",
  29.                 "local"       => "file:///C:/Documents%20and%20Settings/User/My%20Documents/My%20site/",
  30.                 "log"         => "/home/user/logs/error_log",
  31.                 "url"         => "http://www.user.com.br/",
  32.                 "lines"       => 5,
  33.                 "password"    => "123456"
  34.               );
  35.  
  36. $param array"encoding"    => "UTF-8",
  37.                 "language"    => "pt-BR",
  38.                 "title"       => "Error Report for www.user.com.br",
  39.                 "description" => "Please corrects some errors occurred in the site www.user.com.br",
  40.                 "stylesheet"  => "http://www.user.com.br/rsserror.css",
  41.                 "link"        => "http://www.user.com.br/"
  42.               );
  43. $rss new RRSerror($args$param);
  44. ?>

Documentation generated on Wed, 06 Aug 2008 12:59:17 -0300 by phpDocumentor 1.4.1