Return to DbFieldQuestion.class.php CVS log | Up to [Local Repository] / db / prgsrc / drupal / modules / chgk_db / classes / DbField |
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> '); } }