Added convinience function getField()
[AOOS.git] / lib / AOOSInterfaces.php
blob57ea614f3283a0800470bf2652f12ebfe8c9d3f5
1 <?php
3 /**
4 * Interfaces
5 * @author Sebastian Skejø
6 */
8 /**
9 * AOOSStorageInterface is implemented by all Storage Devices.
11 interface AOOSStorageInterface
13 public function setTable($table);
15 // Insert functions
16 public function insert($key, $value, $escape = null);
18 // Remove
19 public function delete($where);
21 // Update
22 public function update($fields, $values, $where);
24 // Select
25 public function select($fields, $where = null, $limit = null);