Ejemplo n.º 1
0
 function showProfileItem($profile)
 {
     $this->elementStart('li', 'entity_removable_profile');
     $item = new TaggedProfileItem($this, $profile);
     $item->show();
     $this->elementStart('span', 'entity_actions');
     if ($profile->isTagged($this->peopletag)) {
         $untag = new UntagButton($this, $profile, $this->peopletag);
         $untag->show();
     } else {
         $tag = new TagButton($this, $profile, $this->peopletag);
         $tag->show();
     }
     $this->elementEnd('span');
     $this->elementEnd('li');
 }
Ejemplo n.º 2
0
 function showProfileItem($profile)
 {
     $item = new TaggedProfileItem($this->out, $profile);
     $item->show();
 }