Annotation of db/prgsrc/drupal/modules/chgk_db/classes/DbField/DbFieldQuestion.class.php, revision 1.2

1.1       roma7       1: <?php
                      2: 
                      3: class DbFieldQuestion extends DbField {
                      4:   public function getName() {
                      5:     return 'Вопрос '.$this->getNumber();
                      6:   }
1.2     ! roma7       7:   public function getFb2() {
        !             8:     $result = "\n<empty-line/>\n<empty-line/>\n".parent::getFb2();
        !             9:     return $result;
        !            10:   }
        !            11:   protected function updateFirstParagraph() {
        !            12:     array_unshift($this->paragraphs,
        !            13:             '<strong>'.$this->getName().
        !            14:             ':</strong> ');
        !            15:   }
        !            16: 
1.1       roma7      17: }

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