}
function show()
+ {
+ $this->startList();
+ $this->showProfiles();
+ $this->endList();
+ }
+
+ function startList()
{
$this->out->elementStart('ul', 'profiles');
+ }
+ function endList()
+ {
+ $this->out->elementEnd('ul');
+ }
+
+ function showProfiles()
+ {
$cnt = 0;
while ($this->profile->fetch()) {
$pli->show();
}
- $this->out->elementEnd('ul');
-
return $cnt;
}
class ProfileMiniList extends ProfileList
{
+ function startList()
+ {
+ $this->out->elementStart('ul', 'entity users xoxo');
+ }
+
function newListItem($profile)
{
return new ProfileMiniListItem($profile, $this->action);