Jifty::Plugin::Comment::Dispatcher.3pm

Langue: en

Autres versions - même langue

Version: 2008-04-08 (ubuntu - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

Jifty::Plugin::Comment::Dispatcher - dispatcher for the comment plugin

DESCRIPTION

Handles the dispatch of the "__comment" paths used by this plugin.

METHODS

setup_parent_object

Called internally by the dispatcher rules to create the ``parent'' dispatcher argument from ``comment_upon'' or ``parent_class'' and ``parent_id''.

RULES

__comment/list

Sets up the ``parent'' argument for the list template.

__comment/add

Set up the ``parent'' argument for the add template and set the ``CreateComment'' action into the ``action'' argument.

__comment/display

Sets up the ``comment'' argument and will update the status and published values of the comment if ``update_status'' or ``update_published'' are set, respectively.

SEE ALSO

Jifty::Dispatcher

AUTHOR

Andrew Sterling Hanenkamp, "<hanenkamp@cpan.org>" Copyright 2008 Boomer Consulting, Inc. All Rights Reserved.

This program is free software and may be modified and distributed under the same terms as Perl itself.