Lines 67-73
BEGIN {
Link Here
|
67 |
|
67 |
|
68 |
=head2 CreateCollection |
68 |
=head2 CreateCollection |
69 |
( $success, $errorcode, $errormessage ) = CreateCollection( $title, $description ); |
69 |
( $success, $errorcode, $errormessage ) = CreateCollection( $title, $description ); |
70 |
Creates a new collection |
70 |
|
|
|
71 |
Creates a new collection |
71 |
|
72 |
|
72 |
Input: |
73 |
Input: |
73 |
$title: short description of the club or service |
74 |
$title: short description of the club or service |
Lines 166-172
sub UpdateCollection {
Link Here
|
166 |
=head2 DeleteCollection |
167 |
=head2 DeleteCollection |
167 |
|
168 |
|
168 |
( $success, $errorcode, $errormessage ) = DeleteCollection( $colId ); |
169 |
( $success, $errorcode, $errormessage ) = DeleteCollection( $colId ); |
169 |
Deletes a collection of the given id |
170 |
|
|
|
171 |
Deletes a collection of the given id |
170 |
|
172 |
|
171 |
Input: |
173 |
Input: |
172 |
$colId : id of the Archetype to be deleted |
174 |
$colId : id of the Archetype to be deleted |
Lines 199-205
sub DeleteCollection {
Link Here
|
199 |
=head2 GetCollections |
201 |
=head2 GetCollections |
200 |
|
202 |
|
201 |
$collections = GetCollections(); |
203 |
$collections = GetCollections(); |
202 |
Returns data about all collections |
204 |
|
|
|
205 |
Returns data about all collections |
203 |
|
206 |
|
204 |
Output: |
207 |
Output: |
205 |
On Success: |
208 |
On Success: |
Lines 229-236
sub GetCollections {
Link Here
|
229 |
|
232 |
|
230 |
( $results, $success, $errorcode, $errormessage ) = GetItemsInCollection( $colId ); |
233 |
( $results, $success, $errorcode, $errormessage ) = GetItemsInCollection( $colId ); |
231 |
|
234 |
|
232 |
Returns information about the items in the given collection |
235 |
Returns information about the items in the given collection |
233 |
|
236 |
|
234 |
Input: |
237 |
Input: |
235 |
$colId: The id of the collection |
238 |
$colId: The id of the collection |
236 |
|
239 |
|
Lines 510-516
sub isItemInThisCollection {
Link Here
|
510 |
|
513 |
|
511 |
=head2 isItemInAnyCollection |
514 |
=head2 isItemInAnyCollection |
512 |
|
515 |
|
513 |
$inCollection = isItemInAnyCollection( $itemnumber ); |
516 |
my $inCollection = isItemInAnyCollection( $itemnumber ); |
514 |
|
517 |
|
515 |
=cut |
518 |
=cut |
516 |
|
519 |
|