Пример #1
0
 /**
  *
  *
  */
 protected function makeCounterBlock()
 {
     $this->aPageVars['topRight'] = \tplCounterblock::parse(array($this->Cursor->count(), $this->_('Number of Questions'), ''), false);
     return $this;
 }
 protected function makeCounterBlock()
 {
     $this->aPageVars['topRight'] = \tplCounterblock::parse(array($this->count, $this->title, $this->counterTaggedText), false);
     return $this;
 }
Пример #3
0
 /**
  * Make html block for
  * the top-right position
  * For this type of page it
  * does not actually contain any count, just
  * an informative text message
  *
  * (non-PHPdoc)
  * @see Lampcms\Controllers.Viewquestions::makeCounterBlock()
  */
 protected function makeCounterBlock()
 {
     /**
      * @todo
      * Translate string
      */
     $text = 'Unique Tags';
     $description = 'A tag is a keyword or label that categorizes your question with other, similar questions. Using the right tags makes it easier for others to find and answer your question.';
     $this->aPageVars['topRight'] = \tplCounterblock::parse(array($this->count, $text, $description), false);
     return $this;
 }