Difference between #7 and #9 of
Common Yii questions

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)**
[...]
14 0
23 followers
Viewed: 59 656 times
Version: 1.1
Category: FAQs
Written by: dckurushin
Last updated by: migajek
Created on: Oct 17, 2011
Last updated: 13 years ago
Update Article

Revisions

View all history