public function addGroupDevices($ent, $grp) { $this->client->send(OCISchemaGroup::GroupAccessDeviceGetListRequest($ent, $grp)); if (isset($this->client->getResponse()->accessDeviceTable['row'])) { foreach ($this->client->getResponse()->accessDeviceTable['row'] as $row) { if (!empty($row['col'][4])) { $this->addDevice($row['col'][4]); } } return true; } else { return false; } }