Yves Agostini > Jifty-Plugin-Comment > Jifty::Plugin::Comment::Dispatcher

Download:
Jifty-Plugin-Comment-1.00.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View/Report Bugs
Source  

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.

syntax highlighting: