Saving files to a blob field in the database

Comparing #10 with #11

Revision #11 was created by zaccaria zaccaria on Nov 4, 2010, 2:22:48 PM.

changed the link generator to the view

Content

[...]
In the view we put the code:


```php
'value'=><? echo CHtml::link(my_link_name,array('displaySavedImage','id'=>$model->primaryKey)),; ?>
```

So it generates link like http://myserver/yii/myapp/index.php?r=candidate/displaySavedImage&id=1

Where Candidate is current model.
[...]