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


Manual Reference Pages  -  JIFTY::ACTION::RECORD::BULK (3)

.ds Aq ’

NAME

Jifty::Action::Record::Bulk - Perform multiple record actions

CONTENTS

SYNOPSIS



  use strict;
  use warnings;

  package MyApp::Action::BulkUpdateFoo;
  use base qw/ Jifty::Action::Record::Bulk /;

  __PACKAGE__->add_action(MyApp::Action::DeleteFoo => { trigger => delete, final => 1 });
  __PACKAGE__->add_action(MyApp::Action::UpdateFoo);



METHODS

    add_action CLASS [, OPTIONS]

Merges the given action class into this one. Will die if the action_class in Jifty::Action::Record of the given CLASS doesn’t match previously added classes.

OPTIONS should be a hash reference of additional options. The existing options are:
trigger Only run if this argument is provided
final If this action runs, run <B>onlyB> this action.

    arguments

Merges together arguments from all of the actions added with add_action. The record IDs to act on are stored (comma-separated) in an argument named ids, by default.

    perform_action CLASS, IDS

Performs the given action CLASS on the given record IDs, which should be an array reference.

    take_action

Completes the actions on all of the IDs given.

    report_success

Reports Bulk update successful.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 JIFTY::ACTION::RECORD::BULK (3) 2010-09-25

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