Affects Version/s: None
Fix Version/s: None
Security Level: All
On http://www.doctrine-project.org/docs/orm/2.0/en/reference/dql-doctrine-query-language.html#adding-your-own-functions-to-the-dql-language the code example is slightly incorrect.
- Lexer::T_ABS doesn't exist anymore, I assume Lexer::T_IDENTIFIER is what one wants to use
- Missing use for \Doctrine\ORM\Query\Lexer
Additionally, the section should tell the user that he best has a look at lib/Doctrine/ORM/Query/AST/Functions/* to learn how to write custom functions. It also could be noted that stored procedures can be called with custom functions.
|Field||Original Value||New Value|
|Workflow||jira [ 12318 ]||jira-feedback [ 13902 ]|
|Workflow||jira-feedback [ 13902 ]||jira-feedback2 [ 15766 ]|
|Workflow||jira-feedback2 [ 15766 ]||jira-feedback3 [ 18023 ]|