- 01
 - 02
 - 03
 - 04
 - 05
 - 06
 - 07
 - 08
 - 09
 - 10
 - 11
 - 12
 
public static function executeUnassign(sfWebRequest $request)
    {
        if ($request->isXmlHttpRequest()){
            $id = $request->getPostParameter('id');
            Doctrine_Query::create()
                    ->delete()
                    ->from('ProductHasCategory p')
                    ->where('p.product_id = ?', $id)
                    ->execute();
            die();
        }
    }
                                
 Follow us!
Комментарии (0) RSS
Добавить комментарий