PHP MongoYii Snippets