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

OpenXPKI::Server::Workflow::WFObject::WFArray

WFArray is used to manage an array data structure that is stored in a workflow context parameter. It inherits from WFObject.

The two primitive methods--count and value--provide the basis for all other methods in its interface.

See OpenXPKI::Server::Workflow::WFObject for details on the default accessors and additional properties.

  my $queue = OpenXPKI::Server::Workflow::WFObject::WFArray->new(
    { workflow => $workflow,
    context_key => 'my_queue' } );

  print "my queue contains ", $queue->count, " element(s).\n";

Returns the number of elements stored in the array. If the array is not initialized, 0 is returned.

Returns the element stored at the given INDEX.

If INDEX is not specified or undefined the method returns the complete array as a reference.

Returns a reference to a copy of the array stored in the instance.

Removes an element from the array, returning its value to the caller. For pop, the element from the end of the array is removed and for shift, the element from the beginning is removed.

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.