You could do it like this :
Doctrine_Manager::getInstance()->getCurrentConnection()
->fetchAssoc('SELECT getDetails(10)');
You can replace fetchAssoc
with fetchArray
or fetchBoth
as required.
Documentation of the Doctrine_Connection
class is here