File:  [Local Repository] / db / prgsrc / drupal / modules / chgk_db / classes / DbField / DbFieldQuestion.class.php
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Sun Mar 21 18:06:04 2010 UTC (14 years, 2 months ago) by roma7
Branches: MAIN
CVS tags: HEAD
FB2 export

<?php

class DbFieldQuestion extends DbField {
  public function getName() {
    return 'Вопрос '.$this->getNumber();
  }
  public function getFb2() {
    $result = "\n<empty-line/>\n<empty-line/>\n".parent::getFb2();
    return $result;
  }
  protected function updateFirstParagraph() {
    array_unshift($this->paragraphs,
            '<strong>'.$this->getName().
            ':</strong> ');
  }

}

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>