2
J'ai une question qui est un peu compliqué:changer une requête compliquée à Zend_Db_Select
(SELECT category_id AS id, content_title AS title, content AS detail, 'content' AS type
FROM category_content
WHERE $where
ORDER BY id DESC)
UNION
(SELECT news_id AS id, news_title AS title, news_detail AS detail, 'news' AS type
FROM news
WHERE $where
ORDER BY id DESC)
Comment puis-je changer cette requête pour objet Zend_Db_Select
?