/** * Return array of offer photos by Type. * @pram string $type * @return OfferPhoto[] */ public function GetPhotosByType($type = 'Zdjecie') { return OfferPhotos::GetPhotosByType($this->GetId(), $type); }