|
Revision 88, 0.7 kB
(checked in by fabien, 2 years ago)
|
updated to symfony 1.0 beta 1
|
- Property svn:mime-type set to
text/x-php
- Property svn:eol-style set to
native
- Property svn:keywords set to
Id
|
| Line | |
|---|
| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
require_once 'lib/model/om/BaseQuestionTag.php'; |
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
class QuestionTag extends BaseQuestionTag |
|---|
| 18 |
{ |
|---|
| 19 |
public function setTag($v) |
|---|
| 20 |
{ |
|---|
| 21 |
parent::setTag($v); |
|---|
| 22 |
|
|---|
| 23 |
$this->setNormalizedTag(Tag::normalize($v)); |
|---|
| 24 |
} |
|---|
| 25 |
|
|---|
| 26 |
public function save($con = null) |
|---|
| 27 |
{ |
|---|
| 28 |
$ret = parent::save($con); |
|---|
| 29 |
|
|---|
| 30 |
$this->getQuestion()->updateSearchIndex(); |
|---|
| 31 |
|
|---|
| 32 |
return $ret; |
|---|
| 33 |
} |
|---|
| 34 |
} |
|---|
| 35 |
|
|---|
| 36 |
?> |
|---|