NAME

Yukki::Web::Router::Route - Adds ACLs to routes

VERSION

version 0.110830

DESCRIPTION

Each route in Yukki::Web::Router is defined using this class.

EXTENDS

Path::Router::Route

ATTRIBUTES

acl

Each route has an access control table here that defines what access levels are required of a visitor to perform each operation.

METHODS

is_component_slurpy

If the path component is like "*:var" or "+:var", it is slurpy.

is_component_optional

If the path component is like "?:var" or "*:var", it is optional.

is_component_variable

If the path component is like "?:var" or "+:var" or "*:var" or ":var", it is a variable.

get_component_name

Grabs the name out of a variable.

has_slurpy_match

Returns true if any component is slurpy.

create_default_mapping

If a default value is an array reference, copies that array.

match

Adds support for slurpy matching.

AUTHOR

Andrew Sterling Hanenkamp <hanenkamp@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Qubling Software LLC.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.