Scroll to navigation

Jifty::Plugin::Comment::Dispatcher(3pm) User Contributed Perl Documentation Jifty::Plugin::Comment::Dispatcher(3pm)

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 AND LICENSE

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.
2009-03-09 perl v5.12.4