\midcom\workflowdelete

Helper class for manipulating toolbars

Summary

Methods
Properties
Constants
__construct()
configure()
add_head_elements()
get_state()
get_button()
render_attributes()
get_button_config()
run()
No public properties found
INACTIVE
CONFIRMED
SUCCESS
FAILURE
No protected methods found
$state
$recursive
$success_url
$object
$label
$dialog_text
N/A
No private methods found
$form_identifier
$l10n_midcom
N/A

Constants

INACTIVE

INACTIVE

CONFIRMED

CONFIRMED

SUCCESS

SUCCESS

FAILURE

FAILURE

Properties

$state

$state : string

Type

string

$recursive

$recursive : boolean

The method to call for deletion (delete or delete_tree)

Type

boolean

$success_url

$success_url : string

The URL to redirect to after successful deletion

Defaults to topic start page

Type

string

$label

$label : string

Type

string

$dialog_text

$dialog_text : string

Type

string

$form_identifier

$form_identifier : 

Type

Methods

__construct()

__construct(array  $options = array()) 

Parameters

array $options

configure()

configure(\Symfony\Component\OptionsResolver\OptionsResolver  $resolver) 

Parameters

\Symfony\Component\OptionsResolver\OptionsResolver $resolver

add_head_elements()

add_head_elements() 

get_state()

get_state() : string

Returns

string

get_button()

get_button(string  $url, array  $options = array()) : array

Parameters

string $url
array $options

Returns

array —

button config in midcom_helper_toolbar format

render_attributes()

render_attributes() : string

Returns

string

get_button_config()

get_button_config() : array

Returns

array