/** * @return array|AttributeValue[] */ private function GetAttributeValues() { $attributes = array(); foreach ($this->page->GetAttributes() as $attribute) { $attributes[] = new AttributeValue($attribute->Id, $attribute->Value); } return $attributes; }