MINOR Disallow nested ErrorPage instances via canAddChildren()

This commit is contained in:
Ingo Schommer 2011-04-15 14:13:53 +12:00
parent c1d5e9baa7
commit 53ed7c496e

View File

@ -26,6 +26,8 @@ class ErrorPage extends Page {
protected static $static_filepath = ASSETS_PATH;
public function canAddChildren($member = null) { return false; }
/**
* Get a {@link SS_HTTPResponse} to response to a HTTP error code if an {@link ErrorPage} for that code is present.
*