UncleCheese\BetterButtons\Controllers\BetterButtonsCustomActionRequest

A subcontroller that handles custom actions. The parent controller matches the url_param '$Action!' and doesn't hand off any trailing params. This subcontoller is aware of them

/item/4/customaction/my-dataobject-method Invokes "my-dataobject-method" on the record

Synopsis

class BetterButtonsCustomActionRequest extends RequestHandler {
}

Hierarchy

Extends

  • SilverStripe\Control\RequestHandler

Members

private

  • $allowed_actions — array
  • $url_handlers — array

protected

Methods

public