@@ 66-73 (lines=8) @@ | ||
63 | */ |
|
64 | public function addObjectsFromHandler(&$handler, $criteria = false) |
|
65 | { |
|
66 | if (method_exists($handler, 'getObjects')) { |
|
67 | $objects = $handler->getObjects($criteria, true); |
|
68 | $this->_registryArray['objects'][$handler->_moduleName][$handler->_itemname] = $objects; |
|
69 | ||
70 | return $objects; |
|
71 | } else { |
|
72 | return false; |
|
73 | } |
|
74 | } |
|
75 | ||
76 | /** |
|
@@ 97-104 (lines=8) @@ | ||
94 | } |
|
95 | $objectHandler = xoops_getModuleHandler($item, $modulename); |
|
96 | ||
97 | if (method_exists($objectHandler, 'getObjects')) { |
|
98 | $objects = $objectHandler->getObjects($criteria, true); |
|
99 | $this->_registryArray['objects'][$objectHandler->_moduleName][$objectHandler->_itemname] = $objects; |
|
100 | ||
101 | return $objects; |
|
102 | } else { |
|
103 | return false; |
|
104 | } |
|
105 | } |
|
106 | ||
107 | /** |