public function getReferencedAttributes() { $arrAttributes = array(); foreach ($this->arrSettings as $objSetting) { $arrAttributes = array_merge($arrAttributes, $objSetting->getReferencedAttributes()); } return $arrAttributes; }