On 11/07/07, Andrew Garrett andrew@epstone.net wrote:
wfRunHooks( 'userCan', array( $this, $wgUser, $action, $result ) )?
No, objects don't need to be passed by reference, but variables you're going to want the callback to change (like $result) do.
Rob Church