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  -  OPENXPKI::SERVER::WORKFLOW::ACTIVITY::TOOLS::WFARRAY (3)

.ds Aq ’

Name

OpenXPKI::Server::Workflow::Activity::Tools::WFArray

CONTENTS

Description

Allow array structures to be modelled in the workflow action definitions using a single implementation class.

Examples



  <action name="add_cert_to_publish"
    class="OpenXPKI::Server::Workflow::Activity::Tools::WFArray"
    array_name="cert_publish_queue"
    function="push"
    context_key="next_cert_to_publish">
  </action>



Parameters

The following parameters may be set in the definition of the action:

    array_name

The name of the workflow context parameter containing the array to be used

    function

The following functions are supported:
push Adds the value of the context parameter named in context_key to the end of the array
pusharray Adds the array contents contained in context parameter named in context_key to the end of the array.
pop Removes the last value from the end of the array and assigns it to the context parameter named in context_key.
unshift Adds the value of the context parameter named in context_key to the beginning of the array
unshiftarray Adds the array contents contained in context parameter named in context_key to the beginning of the array
shift Removes the last value from the beginning of the array and assigns it to the context parameter named in context_key.
value Returns the value at the position specified in array_index and assigns it to the context parameter named in context_key.

If activity configuration explicitly sets index this value is taken, otherwise the index is taken from the context value contained in index_key.

count Returns the number of items in the array.

    context_key

The name of the context parameter that either contains or is the lvalue for the function.

    index_key

When retrieving an element of the array, this specifies the name of the context parameter that contains the index of the element.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 OPENXPKI::SERVER::WORKFLOW::ACTIVITY::TOOLS::WFARRAY (3) 2016-04-03

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