--- db/prgsrc/drupal/modules/chgk_db/classes/DbField/DbFieldQuestion.class.php 2010/02/28 20:17:35 1.1 +++ db/prgsrc/drupal/modules/chgk_db/classes/DbField/DbFieldQuestion.class.php 2010/03/21 18:06:04 1.2 @@ -4,4 +4,14 @@ class DbFieldQuestion extends DbField { public function getName() { return 'Вопрос '.$this->getNumber(); } + public function getFb2() { + $result = "\n\n\n".parent::getFb2(); + return $result; + } + protected function updateFirstParagraph() { + array_unshift($this->paragraphs, + ''.$this->getName(). + ': '); + } + }