symphonists/pagesfield — pull request #6 by klaftertief (2012-05-11 01:27:25+00:00)
Title: PageManager and negation logic

Those changes make use of the Sym3 `PageManager`. There is only one page related query left that doesn't use the `PageManager`: [`fetchPageByTypes()`](https://github.com/klaftertief/pagesfield/blob/experimental/fields/field.pages.php#L359). This method fetches pages by an array of page types, it supports **AND** (` + `) and **OR** (`, `) combined operations and a `not:` modifier. It's used to get the selectbox values in the publishpanel. Something like that could go into the `PageManager`, so that other extensions and the navigation DS can use it. **The implementation could also be adapted for DS filtering for other relationship fields, like SB or SBL.** See https://github.com/symphonycms/symphony-2/issues/1065 for a discussion.