1
0
mirror of https://github.com/silverstripe/silverstripe-framework synced 2024-10-22 12:05:37 +00:00
2020-04-20 18:58:09 +01:00

28 lines
505 B
PHP

<?php
namespace SilverStripe\Control\Tests\RequestHandlingTest;
use SilverStripe\Forms\FormRequestHandler;
/**
* Request handler for
* @see FormWithAllowedActions
*/
class FormWithAllowedActionsHandler extends FormRequestHandler
{
private static $allowed_actions = [
'allowedformaction' => 1,
];
public function allowedformaction()
{
return 'allowedformaction';
}
public function disallowedformaction()
{
return 'disallowedformaction';
}
}