123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- <?php
- if (!defined('GNUSOCIAL')) { exit(1); }
- class ProfileMiniList extends ProfileList
- {
- const MAX_PROFILES = PROFILES_PER_MINILIST;
- function startList()
- {
- $this->out->elementStart('ul', 'entities users xoxo');
- }
- function newListItem(Profile $target)
- {
- return new ProfileMiniListItem($target, $this->action);
- }
- function maxProfiles()
- {
- return PROFILES_PER_MINILIST;
- }
- function avatarSize()
- {
- return AVATAR_MINI_SIZE;
- }
- }
|