silverstripe/silverstripe-cms — pull request #905 by jedateach (2013-12-02 22:00:00+00:00)
Title: VirtualPages: Allow whitelisting methods and relations

... that should be called on the referenced page, and not the VirtualPage’s methods/relations.

This is particularly useful for getting images to display that relate to the referenced page.

The whitelist is a just a list of relations or function names, as they are defined in Page/Page_Controller.