Index: trunk/extensions/Wikidata/OmegaWiki/RecordHelper.php |
— | — | @@ -6,7 +6,6 @@ |
7 | 7 | $type=$record->getType(); |
8 | 8 | if (empty($type)) |
9 | 9 | return null; |
10 | | - echo "HELPING $type .... "; |
11 | 10 | switch($type) { |
12 | 11 | case "definition": |
13 | 12 | return new DefinitionHelper($record); |
— | — | @@ -66,6 +65,10 @@ |
67 | 66 | public function setSaved($saved) { |
68 | 67 | $this->saved=$saved; |
69 | 68 | } |
| 69 | + |
| 70 | + public function getRecord() { |
| 71 | + return $record; |
| 72 | + } |
70 | 73 | |
71 | 74 | # should probably be abstract. Making non-abstract |
72 | 75 | # to save me from tearing my hair out while worrying about |
— | — | @@ -122,6 +125,7 @@ |
123 | 126 | |
124 | 127 | public function getSaveSQL($dc="uw") { |
125 | 128 | $dc=wdGetDataSetContext($dc); |
| 129 | + |
126 | 130 | } |
127 | 131 | } |
128 | 132 | |