Filter documentation #173

Merged
merged 3 commits into from Feb 13, 2013

Projects

None yet

3 participants

@WesleyVanOpdorp
Contributor

Added basic filter documentation with configuration examples.

@stof stof commented on an outdated diff Feb 13, 2013
Resources/doc/config.rst
@@ -17,6 +17,10 @@ Sample Configuration
default:
mappings:
AcmeDemoBundle: ~
+ filters:
+ filter-name:
+ class: Class\Example\Filter\ODM\ExampleFilter
+ enabled: true # true, false
@stof
stof Feb 13, 2013 Member

you should remove the comment. The valid boolean values are known and the fact that a property named enabled is a boolean property should be quite clear

@stof stof commented on an outdated diff Feb 13, 2013
Resources/doc/config.rst
@@ -138,6 +142,27 @@ The following configuration shows a bunch of mapping examples:
prefix: DoctrineExtensions\Documents\
alias: DExt
+Filters
+~~~~~~~~~~~~~~~~~~~~
@stof
stof Feb 13, 2013 Member

you should remove the extra ~

@jmikola
Member
jmikola commented Feb 13, 2013

Thanks!

@jmikola jmikola merged commit 191f933 into doctrine:master Feb 13, 2013

1 check passed

default The Travis build passed
Details
@WesleyVanOpdorp WesleyVanOpdorp deleted the WesleyVanOpdorp:FilterDocumentation branch Feb 14, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment