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
OpenXPKI::Server::Workflow::Activity::Tools::WFArray(3) User Contributed Perl Documentation OpenXPKI::Server::Workflow::Activity::Tools::WFArray(3)

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

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

  add_cert_to_publish:
    class: OpenXPKI::Server::Workflow::Activity::Tools::WFArray
      param:
        array_name: cert_publish_queue
        function: push
        context_key: next_cert_to_publish

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

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

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.

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

When retrieving an element of the array, this specifies the name of the context parameter that contains the index of the element.
2022-05-14 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.