blob: 8ae49d29482f852ded2200a414853e0ccdc8a346 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
<?php
namespace gipfl\ZfDbStore;
interface StorableInterface
{
public function isNew();
public function getKey();
public function getKeyProperty();
public static function create(array $properties = []);
public static function load(Store $store, $key);
public function get($property);
public function getProperties(array $properties = null);
public function hasProperty($property);
public function getModifiedProperties();
public function getStoredProperties();
public function set($property, $value);
public function setStoredProperty($property, $value);
public function setProperties(array $properties);
public function setStoredProperties(array $properties);
public function assertPropertyExists($property);
public function isModified();
public function getDefaultProperties();
public function listModifiedProperties();
public function setStored();
}
|