public function getContactPhotos() { // Only load contacts if they aren't in the buffer if (count($this->contactPhotos) == 0) { $this->loadContacts(); } return $this->contactPhotos; }