Difference between #10 and #11 of
Saving files to a blob field in the database

Revision #11 has been created by zaccaria on Nov 4, 2010, 2:22:48 PM with the memo:

changed the link generator to the view
« previous (#10)

Changes

Title unchanged

Saving files to a blob field in the database

Category unchanged

Tips

Yii version unchanged

Tags unchanged

File upload

Content changed

[...]
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.
[...]
6 2
17 followers
Viewed: 79 573 times
Version: 1.1
Category: Tips
Written by: zaccaria
Last updated by: zaccaria
Created on: Nov 3, 2010
Last updated: 13 years ago
Update Article

Revisions

View all history