ars_GetListContainer( ctrl, changedSince=0, attributes=0, # standard [ ownerObjList ], # OPTIONAL containerType1,containerType2,...) # OPTIONAL
Retrieves a list of containers on the specified server. You can retrieve all (accessible) containers or limit the list to containers of a particular type or containers modified after a specified time.
See also: GetListContainer Hash Values.
[ ownerObjList ]
Value | Meaning |
0 | Retrieve all container types (ARCON_ALL). |
1 | Retrieve all guide containers (ARCON_GUIDE). |
2 | Retrieve all application containers (ARCON_APP). |
3 | Retrieve all packing list containers (ARCON_PACK). |
4 | Retrieve all filter guide containers (ARCON_FILTER_GUIDE). |
5 | Retrieve all web service containers (ARCON_WEBSERVICE). |
Example 1 (retrieve all active link guides):
@list = ars_GetListContainer($ctrl, 0, &ARS::AR_HIDDEN_INCREMENT, &ARS::ARCON_GUIDE); die "$ars_errstr" if $ars_errstr;
Example 2 (retrieve all globally owned containers plus all containers of a specific schema):
@list = ars_GetListContainer($ctrl, 0, &ARS::AR_HIDDEN_INCREMENT, [ {type => 'all', ownerName => ''}, {type => 'schema', ownerName => 'Sample:Schema'}, ] ); die "$ars_errstr" if $ars_errstr;
© Ian Trimnell 2005 i.d.trimnell@open.ac.uk