/** * Return sites that this object is a member of * * Site membership is determined by relationships and not site_guid. * * @todo Moved to \ElggEntity so remove this in 2.0 * * @param array $options Options array. Used to be $subtype * @param int $limit The number of results to return (deprecated) * @param int $offset Any indexing offset (deprecated) * * @return array */ public function getSites($options = "", $limit = 10, $offset = 0) { if (is_string($options)) { elgg_deprecated_notice('\\ElggObject::getSites() takes an options array', 1.9); return get_site_objects($this->getGUID(), $options, $limit, $offset); } return parent::getSites(); }