Copied!
CloneableInstantiable
Methods
public __construct(array $attributes)
 

Instantiate a new ActionConfirmation.

  • param array $attributes
public getDismissText()
 
  • return string
public getOkText()
 
  • return string
public getText()
 
  • return string
public getTitle()
 
  • return string
public setDismissText( $dismissText)
 
  • param string $dismissText
  • return \ActionConfirmation
public setOkText( $okText)
 
  • param string $okText
  • return \ActionConfirmation
public setText( $text)
 
  • param string $text
  • return \ActionConfirmation
public setTitle( $title)
 
  • param string $title
  • return \ActionConfirmation
public toArray()
 

Get the array representation of this action confirmation.

  • return array
Properties
protected static $availableAttributes = ['title' => 'title', 'text' => 'text', 'ok_text' => 'ok_text', 'dismiss_text' => 'dismiss_text']
 

Internal attribute to property map.

  • var array
protected $dismissText = NULL
 

The text label for the Cancel button.

  • var string
protected $okText = NULL
 

The text label for the OK button.

  • var string
protected $text = NULL
 

The required description.

  • var string
protected $title = NULL
 

The required title for the pop up window.

  • var string
Methods
protected Maknz\Slack\Payload::fillProperties(array $attributes) : self
 
  • param array $attributes
  • return $this
Properties
protected static $availableAttributes = ['title' => 'title', 'text' => 'text', 'ok_text' => 'ok_text', 'dismiss_text' => 'dismiss_text']
 

Internal attribute to property map.

  • var array
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration