Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-2203

add EntityManager->getFilters()->isEnabled('filterName'')

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: Git Master
    • Fix Version/s: 2.5
    • Component/s: ORM
    • Security Level: All
    • Labels:
      None

      Activity

      Hide
      Paweł Nowak added a comment - - edited

      My pull request (https://github.com/doctrine/doctrine2/pull/548) contains an implementation of the method. Note that no exception is thrown if you query for the state of a non-existing filter - in such a case, false is returned as for disabled filters.

      Show
      Paweł Nowak added a comment - - edited My pull request ( https://github.com/doctrine/doctrine2/pull/548 ) contains an implementation of the method. Note that no exception is thrown if you query for the state of a non-existing filter - in such a case, false is returned as for disabled filters.

        People

        • Assignee:
          Benjamin Eberlei
          Reporter:
          Enea Bette
        • Votes:
          0 Vote for this issue
          Watchers:
          2 Start watching this issue

          Dates

          • Created:
            Updated: