NAME
OpenFrame::Constants - Constants for OpenFrame
SYNOPSIS
use OpenFrame::AbstractResponse;
use OpenFrame::Constants;
my $response = OpenFrame::AbstractResponse->new();
$response->message($output);
$response->code(ofOK);
$response->mimetype('text/html');
$response->cookies($cookie);
DESCRIPTION
OpenFrame::Constants
exports some constants which are of general use inside OpenFrame.
CONSTANTS
OpenFrame::AbstractResponse constants
The following constants are valid as codes of an OpenFrame::AbstractResponse
object:
- ofOK
-
The response is okay.
- ofERROR
-
The response is an error.
- ofREDIRECT
-
The response is a redirect.
- ofDECLINED
-
The response was declined.
AUTHOR
James A. Duncan <jduncan@fotango.com>
COPYRIGHT
Copyright (C) 2001, Fotango Ltd.
This module is free software; you can redistribute it or modify it under the same terms as Perl itself.