+ function showTitle()
+ {
+ $link = $this->link();
+ if (!empty($link)) {
+ $this->out->elementStart('h2');
+ $this->out->element('a', array('href' => $link), $this->title());
+ $this->out->elementEnd('h2');
+ } else {
+ $this->out->element('h2', null,
+ $this->title());
+ }
+ }
+
+ function showMore()
+ {
+ $this->out->elementStart('p');
+ $this->out->element('a', array('href' => $this->moreUrl(),
+ 'class' => 'more'),
+ $this->moreTitle());
+ $this->out->elementEnd('p');
+ }
+