GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Reaction::UI::Controller::Collection(3) User Contributed Perl Documentation Reaction::UI::Controller::Collection(3)

Reaction::UI::Controller::Collection

Controller class used to make displaying collections easier. Inherits from Reaction::UI::Controller.

This role also consumes the following roles:
Reaction::UI::Controller::Role::Action::GetCollection
Reaction::UI::Controller::Role::Action::Simple
Reaction::UI::Controller::Role::Action::Object
Reaction::UI::Controller::Role::Action::List
Reaction::UI::Controller::Role::Action::View

Read-write lazy building arrayref. The names of the member actions (the actions that apply to each member of the collection and typically have an object as a target e.g. update,delete) to be enabled by default. By default, this is only 'view'
_build_default_member_actions - Provided builder method, see METHODS
has_default_member_actions - Auto generated predicate
clear_default_member_actions- Auto generated clearer method

Read-write lazy building arrayref. The names of the collection actions (the actions that apply to the entire collection and typically have a collection as a target e.g. create, delete_all) to be enabled by default. By default, this is only empty.
_build_default_member_actions - Provided builder method, see METHODS
has_default_member_actions - Auto generated predicate
clear_default_member_actions- Auto generated clearer method

Set "list" to Reaction::UI::ViewPort::Collection::Grid

By default will reurn a hashref containing action prototypes for all default member and collection actions. The prototype URI generators are generated by "_build_member_action_prototype" and "_build_collection_action_prototype" respectively and labels are the result of replacing underscores in the name with spaces and capitalizing the first letter. If you plan to use custom actions that are not supported by this scheme or you would like to customize the values it is suggested you wrap / override this method.

Default output for a controller having only 'view' enabled:

    { list => {
        action_prototypes => {},
        Member => {
          action_prototypes => {
            view => {label => 'View', uri => sub{...} },
          },
        },
      },
    }

Creates an action prototype suitable for creating action links in Reaction::UI::ViewPort::Role::Actions. $action_name should be the name of a Catalyst action in this controller.The prototype will generate a URI based on the action, current captures.

Deprecated alias to "setup_viewport".

Chain link, no-op.

Chained to "base". See Reaction::UI::Controller::Role::Action::List

Chained to "base". See Reaction::UI::Controller::Role::Action::Object

Chained to "object". See Reaction::UI::Controller::Role::Action::View

Reaction::UI::Controller

See Reaction::Class for authors.

See Reaction::Class for the license.

Hey! The above document had some coding errors, which are explained below:
Around line 125:
Unknown directive: =over4
Around line 127:
'=item' outside of any '=over'
2010-10-30 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.