<?php$conn=Doctrine_Manager::getInstance()->openConnection(newPDO("dsn","username","password");$query=newDoctrine_Query($conn);$query->from('User.Phonenumber')->limit(20);$view=newDoctrine_View($query,'MyView');// creating a database view$view->create();// dropping the view from the database$view->drop();?>