Revision #9 has been created by Thomas Jensen on Oct 17, 2011, 4:33:14 PM with the memo:
Changed "true" to "false" in question 1. "true" means DO validate.
« previous (#7) next (#10) »
Changes
Title
unchanged
Common Yii questions
Category
unchanged
FAQs
Yii version
unchanged
Tags
unchanged
yii, common, questions, beginners
Content
changed
[...]
return $this->getIsNewRecord() ? $this->insert($attributes) : $this->update($attributes);
else
return false;
}
```
if you don't want it to validate just do **$method->save(trufalse);**
<hr/>[...]
```php
array(
'site/action/<id:\d+>' => 'site/action'
)
```
In your you can set **$id** like this: **actionPage($id)**[...]