public function configure(BuilderInterface $builder, ElementFactoryInterface $elementFactory) { $builder->add($elementFactory->newConnection('connection', 'Connection', 'The MongoDB connection which should be used')); $builder->add($elementFactory->newInput('propertyName', 'Property name', 'text', 'The name of the property under which the result should be inserted')); $builder->add($elementFactory->newInput('collection', 'Collection', 'text', 'The data gets fetched from this collection')); $builder->add($elementFactory->newTextArea('criteria', 'Criteria', 'json', 'Specifies selection criteria using <a href="http://docs.mongodb.org/manual/reference/operator/">query operators</a>. To return all documents in a collection, omit this parameter or pass an empty document ({})')); $builder->add($elementFactory->newTextArea('projection', 'Projection', 'json', 'Specifies the fields to return using <a href="http://docs.mongodb.org/manual/reference/operator/projection/">projection operators</a>. To return all fields in the matching document, omit this parameter.')); $builder->add($elementFactory->newInput('sort', 'Sort', 'text', 'Sorts the entries after a specific key. I.e. <code>title=1</code> to order after the title ascending or <code>title=-1</code> for descending')); $builder->add($elementFactory->newInput('limit', 'Limit', 'text', 'Integer how many entries should be fetched')); }
public function configure(BuilderInterface $builder, ElementFactoryInterface $elementFactory) { $builder->add($elementFactory->newConnection('connection', 'Connection')); $builder->add($elementFactory->newTextArea('sql', 'SQL', 'sql', 'The SELECT statment which gets executed. It is possible to access values from the environment with i.e. <code ng-non-bindable>{{ request.uriFragment("news_id")|prepare }}</code>. <b>Note you must use the prepare filter for each parameter in order to generate a safe SQL query which uses prepared statments.</b> Click <a ng-click="help.showDialog(\'help/template.md\')">here</a> for more informations about the template syntax.')); }
public function configure(BuilderInterface $builder, ElementFactoryInterface $elementFactory) { $builder->add($elementFactory->newConnection('connection', 'Connection', 'The MongoDB connection which should be used')); $builder->add($elementFactory->newInput('collection', 'Collection', 'text', 'The data gets fetched from this collection')); $builder->add($elementFactory->newTextArea('criteria', 'Criteria', 'json', 'Specifies selection criteria using <a href="http://docs.mongodb.org/manual/reference/operator/">query operators</a>. To return all documents in a collection, omit this parameter or pass an empty document ({})')); $builder->add($elementFactory->newTextArea('projection', 'Projection', 'json', 'Specifies the fields to return using <a href="http://docs.mongodb.org/manual/reference/operator/projection/">projection operators</a>. To return all fields in the matching document, omit this parameter.')); }
public function configure(BuilderInterface $builder, ElementFactoryInterface $elementFactory) { $builder->add($elementFactory->newConnection('connection', 'Connection', 'The Beanstalk connection which should be used')); $builder->add($elementFactory->newInput('queue', 'Queue', 'text', 'The name of the queue')); }
public function configure(BuilderInterface $builder, ElementFactoryInterface $elementFactory) { $builder->add($elementFactory->newConnection('connection', 'Connection', 'The MongoDB connection which should be used')); $builder->add($elementFactory->newInput('collection', 'Collection', 'text', 'Inserts the document into this collection')); $builder->add($elementFactory->newTextArea('document', 'Document', 'json', 'The document containing the data')); }
public function configure(BuilderInterface $builder, ElementFactoryInterface $elementFactory) { $builder->add($elementFactory->newInput('foo', 'Foo', 'text', 'Foo description')); $builder->add($elementFactory->newConnection('connection', 'Connection', 'Connection description')); }
public function configure(BuilderInterface $builder, ElementFactoryInterface $elementFactory) { $builder->add($elementFactory->newConnection('connection', 'Connection', 'The MongoDB connection which should be used')); $builder->add($elementFactory->newInput('collection', 'Collection', 'text', 'Removes the record from this collection')); $builder->add($elementFactory->newTextArea('criteria', 'Criteria', 'json', 'Query criteria which objects should be deleted')); }
public function configure(BuilderInterface $builder, ElementFactoryInterface $elementFactory) { $builder->add($elementFactory->newConnection('connection', 'Connection', 'The MongoDB connection which should be used')); $builder->add($elementFactory->newInput('collection', 'Collection', 'text', 'Inserts the document into this collection')); $builder->add($elementFactory->newTextArea('criteria', 'Criteria', 'json', 'Query criteria for the documents to update')); $builder->add($elementFactory->newTextArea('document', 'Document', 'json', 'The object used to update the matched documents')); }