Name

CatalystX::Usul::Constants - Definitions of constant values

Version

Describes v0.16.$Rev: 1 $

Synopsis

use CatalystX::Usul::Constants;

my $bool = TRUE; my $slash = SEP;

Description

Exports a list of subroutines each of which returns a constants value

Subroutines/Methods

ACCESS_OK

Access to an action has been granted

ACCESS_NO_UGRPS

No list of users/groups for selected action

ACCESS_UNKNOWN_USER

The current user is unknown and anonymous access is not allowed

ACCESS_DENIED

Access to the selected action for this user is denied

ACTION_OPEN

Then action is available

ACTION_HIDDEN

The action is available but does not appear in the navigation menus

ACTION_CLOSED

The action is not available

ARRAY

String ARRAY

ASSERT

Returns a coderef which defaults to a subroutine that does nothing. Can be set via a call to to the Assert inherited attribute mutator, i.e.

CatalystX::Usul::Constants->set_inherited( q(Assert), q(YourSubRef) );

BRK

Separate leader (: ) from message

CODE

String CODE

DEFAULT_ACTION

All controllers should implement this method as a redirect

DEFAULT_CONTENT_TYPE

Returns text/html

DEFAULT_L10N_DOMAIN

Name of the GNU Gettext Portable Object file that contains common message strings

DIGEST_ALGORITHMS

List of Digest algorithms to search for. Used by create_token

DOTS

Multiple dots ....

EVIL

The devil's spawn. Value returned by $OSNAME on the unmentionable platform

EVIL_EMPIRE

What HTTP::DetectUserAgent returns if someone is using the wrong client

FAILED

Non zero exit code indicating program failure

FALSE

Digit 0

GT

HTML entity for the greater than character >

HASH

String HASH

HASH_CHAR

Hash character

LANG

Default language code

LBRACE

Left curly brace

LOCALIZE

The character sequence that introduces a localization substitution parameter

LSB

Left square bracket character

MAX_SESSION_TIME

The default length of time before a session expires through non use (in seconds). Two hours

NBSP

Unicode for a non breaking space

NEGOTIATION_IGNORE_XML

Content negotiation state

NEGOTIATION_OFF

Content negotiation state

NEGOTIATION_ON

Content negotiation state

NUL

Empty string

OK

Returns good program exit code, zero

PHASE

The default phase number used to select installation specific config

ROOT

Root namespace symbol

RSB

Right square bracket character

SEP

Slash (/) character

SPC

Space character

TRUE

Digit 1

TTS

Help tips title separator string

UNTAINT_IDENTIFIER

Regular expression used to untaint identifier strings

UNTAINT_PATH_REGEX

Regular expression used to untaint path strings

UUID_PATH

An array ref. which is passed to catfile and is a path to the proc filesystems random generator

Diagnostics

None

Configuration and Environment

None

Dependencies

Class::Usul::Constants
Sub::Exporter

Incompatibilities

There are no known incompatibilities in this module

Bugs and Limitations

There are no known bugs in this module. Please report problems to the address below. Patches are welcome

Author

Peter Flanigan, <Support at RoxSoft.co.uk>

License and Copyright

Copyright (c) 2014 Peter Flanigan. All rights reserved

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic

This program is distributed in the hope that it will be useful, but WITHOUT WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE