/** * Gets changes that reference this object by category, type, and ID */ public function getChanges(array $options = array()) { return DataCenterDB::getChanges(array_merge_recursive($options, DataCenterDB::buildCondition('meta', 'change', 'component_category', $this->category), DataCenterDB::buildCondition('meta', 'change', 'component_type', $this->type), DataCenterDB::buildCondition('meta', 'change', 'component_id', $this->getId()))); }