The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

App::Cinema::Controller::Item - A controller that handles the movie item's actions.

SYNOPSIS

You can call its actions in any template files either

    <form action="[% Catalyst.uri_for('/item/search_do') %]" method="POST">
    

or

    <form action="[% base %]item/search_do" method="POST">

You can also use them in any other controller modules like this:

    $c->res->redirect( $c->uri_for('search') );
                

DESCRIPTION

This is a controller that will handle every action of a movie item.

Methods

add

This action is used to add an item.

checkout_do

This action is used to checkout an item.

delete_do

This action is used to delete an item.

detail

This action is used to display the detail of an item.

This action is used to display the result of item search.

search_do

This action is used to search items with or without condition.

AUTHOR

Jeff Mo - <mo0118@gmail.com>