/**
  * Show the list
  *
  * @return void
  */
 function show()
 {
     $this->out->elementStart('ul', 'notices messages group-messages');
     $cnt = 0;
     while ($this->gm->fetch() && $cnt <= MESSAGES_PER_PAGE) {
         $cnt++;
         if ($cnt > MESSAGES_PER_PAGE) {
             break;
         }
         $gmli = new GroupMessageListItem($this->out, $this->gm);
         $gmli->show();
     }
     $this->out->elementEnd('ul');
     return $cnt;
 }
 /**
  * Show the content area.
  */
 function showContent()
 {
     $this->elementStart('ul', 'notices messages');
     $gmli = new GroupMessageListItem($this, $this->gm);
     $gmli->show();
     $this->elementEnd('ul');
 }