From 155cf6aeea9ba7ecbc39face6442d3ce1b03ad8e Mon Sep 17 00:00:00 2001
From: Nils Schwabe
Date: Wed, 4 Jun 2014 14:27:03 +0200
Subject: Add webinterface with functionallity
---
management-interface/lib/api/classBasket.html | 534 ++++++++++++++++++++++++++
1 file changed, 534 insertions(+)
create mode 100644 management-interface/lib/api/classBasket.html
(limited to 'management-interface/lib/api/classBasket.html')
diff --git a/management-interface/lib/api/classBasket.html b/management-interface/lib/api/classBasket.html
new file mode 100644
index 0000000..bb730b2
--- /dev/null
+++ b/management-interface/lib/api/classBasket.html
@@ -0,0 +1,534 @@
+
+
+
+
+
+
+
Session-based pseudo-mapper.
+ More...
+
+ |
+|
+ | $id |
+| | Current item identifier.
|
+| |
+|
+ | $item =array() |
+| | Current item contents.
|
+| |
+ |
+|
+const | E_Field ='Undefined field %s' |
+| |
+
+ |
+|
+ | $key |
+| | Session key.
|
+| |
+
+
+
Session-based pseudo-mapper.
+
+
+
+
+
+
+ | Basket::__construct |
+ ( |
+ |
+ $key = 'basket' | ) |
+ |
+
+
+
+
Instantiate class
+
- Returns
- void
+
- Parameters
-
+
+
+
+
+
+
+
+
+
+
+
+
+ | Basket::checkout |
+ ( |
+ | ) |
+ |
+
+
+
+
Check out basket contents
+
- Returns
- array
+
+
+
+
+
+
+
+
+ | Basket::clear |
+ ( |
+ |
+ $key | ) |
+ |
+
+
+
+
Delete field
+
- Returns
- NULL
+
- Parameters
-
+
+
+
+
+
+
+
+
+
+
+
+ | Basket::copyfrom |
+ ( |
+ |
+ $key | ) |
+ |
+
+
+
+
Hydrate item using hive array variable
+
- Returns
- NULL
+
- Parameters
-
+
+
+
+
+
+
+
+
+
+
+
+ | Basket::copyto |
+ ( |
+ |
+ $key | ) |
+ |
+
+
+
+
Populate hive array variable with item contents
+
- Returns
- NULL
+
- Parameters
-
+
+
+
+
+
+
+
+
+
+
+
+ | Basket::count |
+ ( |
+ | ) |
+ |
+
+
+
+
Return number of items in basket
+
- Returns
- int
+
+
+
+
+
+
+
+
+ | Basket::drop |
+ ( |
+ | ) |
+ |
+
+
+
+
Empty basket
+
- Returns
- NULL
+
+
+
+
+
+
+
+
+ | Basket::dry |
+ ( |
+ | ) |
+ |
+
+
+
+
Return TRUE if current item is empty/undefined
+
- Returns
- bool
+
+
+
+
+
+
+
+
+ | Basket::erase |
+ ( |
+ |
+ $key, |
+
+
+ |
+ |
+ |
+ $val |
+
+
+ |
+ ) |
+ | |
+
+
+
+
Erase item matching key/value pair
+
- Returns
- bool
+
- Parameters
-
+
+ | $key | string |
+ | $val | mixed |
+
+
+
+
+
+
+
+
+
+
+
+ | Basket::exists |
+ ( |
+ |
+ $key | ) |
+ |
+
+
+
+
Return TRUE if field is defined
+
- Returns
- bool
+
- Parameters
-
+
+
+
+
+
+
+
+
+
+
+
+ | Basket::find |
+ ( |
+ |
+ $key = NULL, |
+
+
+ |
+ |
+ |
+ $val = NULL |
+
+
+ |
+ ) |
+ | |
+
+
+
+
Return items that match key/value pair; If no key/value pair specified, return all items
+
- Returns
- array|FALSE
+
- Parameters
-
+
+ | $key | string |
+ | $val | mixed |
+
+
+
+
+
+
+
+
+
+
+
+ | Basket::findone |
+ ( |
+ |
+ $key, |
+
+
+ |
+ |
+ |
+ $val |
+
+
+ |
+ ) |
+ | |
+
+
+
+
Return first item that matches key/value pair
+
- Returns
- object|FALSE
+
- Parameters
-
+
+ | $key | string |
+ | $val | mixed |
+
+
+
+
+
+
+
+
+
+
+
+ | Basket::get |
+ ( |
+ |
+ $key | ) |
+ |
+
+
+
+
Retrieve value of field
+
- Returns
- scalar|FALSE
+
- Parameters
-
+
+
+
+
+
+
+
+
+
+
+
+ | Basket::load |
+ ( |
+ |
+ $key, |
+
+
+ |
+ |
+ |
+ $val |
+
+
+ |
+ ) |
+ | |
+
+
+
+
Map current item to matching key/value pair
+
- Returns
- array
+
- Parameters
-
+
+ | $key | string |
+ | $val | mixed |
+
+
+
+
+
+
+
+
+
+
+
+ | Basket::reset |
+ ( |
+ | ) |
+ |
+
+
+
+
Reset cursor
+
- Returns
- NULL
+
+
+
+
+
+
+
+
+ | Basket::save |
+ ( |
+ | ) |
+ |
+
+
+
+
Save current item
+
- Returns
- array
+
+
+
+
+
+
+
+
+ | Basket::set |
+ ( |
+ |
+ $key, |
+
+
+ |
+ |
+ |
+ $val |
+
+
+ |
+ ) |
+ | |
+
+
+
+
Assign value to field
+
- Returns
- scalar|FALSE
+
- Parameters
-
+
+ | $key | string |
+ | $val | scalar |
+
+
+
+
+
+
+
The documentation for this class was generated from the following file:
+
--
cgit v1.2.3-55-g7522