isReadOnly() now takes arguments

Add an array of arguments to isReadOnly() method of actions, to let
them change their results depending on what actions are called.
Primarily used by the 'api' action. Ideally in the future that will be
multiple actions. But this might still be useful.
This commit is contained in:
Evan Prodromou
2009-04-13 15:49:26 -04:00
parent 4237407cd9
commit e9e75fc9d5
46 changed files with 54 additions and 52 deletions

View File

@@ -93,7 +93,7 @@ class ErrorAction extends Action
return $this->message;
}
function isReadOnly()
function isReadOnly($args)
{
return true;
}