Нашел ответ в апострофном плагине:
$q = Doctrine_Query::create()->from('Tagging tg, tg.Tag t, Content c');
$q->andWhere('c.id = tg.taggable_id and c.state_id = ?', 3);
$this->tagsInOrder = PluginTagTable::getAllTagNameWithCount($q,Array('model' => 'Content', 'sort_by_popularity' => true));