Example #1
0
 function actionShowedit($flash_id)
 {
     $flashimages = $this->connection->createCommand("select * from xm_flashimages where flash_id = {$flash_id} order by seq asc")->queryAll();
     $flash = Flash::model()->findByPk($flash_id);
     $this->data['flashimages'] = $flashimages;
     $this->data['flash_id'] = $flash_id;
     $this->data['flash'] = $flash;
     $this->render('showedit', $this->data);
 }