Bryar::Frontend::Base(3pm) User Contributed Perl Documentation Bryar::Frontend::Base(3pm)
NAME
Bryar::Frontend::Base - Base class for frontend classes
SYNOPSIS
use base 'Bryar::Frontend::Base';
sub obtain_url {...}
sub obtain_path_info {...}
sub obtain_args {...}
sub send_data {...}
sub send_header {...}
sub get_header {...}
DESCRIPTION
This abstracts the work of front-ending Bryar, to make real front-end classes tidier.
METHODS
You provide these.
obtain_url
Returns the full URL for this page.
obtain_path_info
Returns the path info from the server: the part of the URL after bryar.cgi or whatever.
obtain_params
Returns a hash of CGI parameters.
send_data
Write stuff to the browser. This will only be called once.
send_header
Write stuff to the browser, first.
get_header
Read a HTTP header.
output
$self->output
Output the entire blog data to the browser
report_error
$self->report_error($title, $message)
Used when something went horribly wrong inside Bryar. Spits out the error in as friendly a
way as possible to the browser.
LICENSE
This module is free software, and may be distributed under the same terms as Perl itself.
AUTHOR
Copyright (C) 2003, Simon Cozens "simon AT kasei.com"
some parts Copyright 2007 David Cantrell "david AT cantrell.uk"
SEE ALSO
perl v5.10.0 2007-01-20 Bryar::Frontend::Base(3pm)
Generated by $Id: phpMan.php,v 4.49 2006/02/26 13:18:18 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2012-05-21 22:35 @38.107.179.237 Crawled by CCBot/1.0 (+http://www.commoncrawl.org/bot.html)