コード例 #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');
 }
コード例 #2
0
 function showProfileItem($profile)
 {
     $item = new TaggedProfileItem($this->out, $profile);
     $item->show();
 }