@@ -191,6 +191,9 @@ |
||
| 191 | 191 | return $this->getSingleton($this->crudFiles,"getFiles"); |
| 192 | 192 | } |
| 193 | 193 | |
| 194 | + /** |
|
| 195 | + * @param string $method |
|
| 196 | + */ |
|
| 194 | 197 | private function getSingleton($value, $method) { |
| 195 | 198 | if (! isset ( $value )) { |
| 196 | 199 | $value = $this->$method (); |
@@ -83,6 +83,9 @@ |
||
| 83 | 83 | return OrmUtils::getKeyFields($instance); |
| 84 | 84 | } |
| 85 | 85 | |
| 86 | + /** |
|
| 87 | + * @param string $class |
|
| 88 | + */ |
|
| 86 | 89 | private static function getMultiWhere($ids, $class) { |
| 87 | 90 | $pk=OrmUtils::getFirstKey($class); |
| 88 | 91 | $ids=explode(",", $ids); |