1 | <?php |
||
15 | class Document implements DocumentInterface |
||
16 | { |
||
17 | protected $__flywheelDocId; |
||
18 | protected $__flywheelInitialId; |
||
19 | |||
20 | /** |
||
21 | * Constructor |
||
22 | * |
||
23 | * @param array $data An associative array, each key/value pair will be |
||
24 | * turned into properties on this object. |
||
25 | */ |
||
26 | 32 | public function __construct(array $data = array()) |
|
32 | |||
33 | /** |
||
34 | * Set the document ID. |
||
35 | * |
||
36 | * @param string $id |
||
37 | */ |
||
38 | 20 | public function setId($id) |
|
50 | |||
51 | /** |
||
52 | * Get the document ID. |
||
53 | * |
||
54 | * @return string |
||
55 | */ |
||
56 | 8 | public function getId() |
|
60 | |||
61 | /** |
||
62 | * Get the initial document ID. |
||
63 | * |
||
64 | * @return string |
||
65 | */ |
||
66 | 2 | public function getInitialId() |
|
70 | |||
71 | 5 | public function getNestedProperty($field, &$found = false) |
|
100 | } |
||
101 |