PHP Model-filters Resources