Return to DbFieldQuestion.class.php CVS log | Up to [Local Repository] / db / prgsrc / drupal / modules / chgk_db / classes / DbField |
FB2 export
1: <?php 2: 3: class DbFieldQuestion extends DbField { 4: public function getName() { 5: return 'Вопрос '.$this->getNumber(); 6: } 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: 17: }