From 91140599186e2a589b4a4a9aa5d2d441fbdd0aee Mon Sep 17 00:00:00 2001 From: groditi Date: Fri, 24 Oct 2008 02:26:09 +0000 Subject: more POD --- lib/Reaction/UI/ViewPort/Role/Actions.pm | 36 +++++++++++++++++++++++++++++--- 1 file changed, 33 insertions(+), 3 deletions(-) (limited to 'lib/Reaction/UI/ViewPort/Role/Actions.pm') diff --git a/lib/Reaction/UI/ViewPort/Role/Actions.pm b/lib/Reaction/UI/ViewPort/Role/Actions.pm index 1731a7e..f1f731c 100644 --- a/lib/Reaction/UI/ViewPort/Role/Actions.pm +++ b/lib/Reaction/UI/ViewPort/Role/Actions.pm @@ -76,7 +76,7 @@ A role to ease attaching actions to Ls =head2 actions -Automatically built ArrayRef of URI objects pointing to actions +Read-only, lazy-building ArrayRef of URI objects pointing to actions. =head2 action_prototypes @@ -108,8 +108,38 @@ User-provided ArrayRef with how the actions should be ordered eg =head2 computed_action_order -The final computed action order. This may differ from the action_order provided -if you didn't list all of the actions in that. +Read-only lazy-building ARRAY ref. The final computed action order. This may +differ from the C provided if you any actions were not included +in that list. + +=head1 METHODS + +=head2 _build_actions + +Cycle through the C and create a new +L object for each action using the +provided prototypes. + +=head2 _build_computed_action_order + +Compute the final action ordering by using the provided C as a +spec to order all the present actions (the keys of C) + +=head1 ACTION PROTOTYPES + +Action prototypes are simply hashrefs that must contain a C key and may +contain a C