当我更新一个表格的行文时,似乎不援引<条码>doSave(<>> > 代码/代码>方法......
I use doSave()
methods when I upload an concept and use sfThumbnail
.
我能做些什么?
例:
protected function doSave($con = null) {
parent::doSave($con);
$thumbnail = new sfThumbnail();
$thumbnail->loadFile($upload->getTempName());
$thumbnail->save();
}