PHP Class Slack\Message\MessageAttachment

Afficher le fichier Open project: polem/slack-notifier

Protected Properties

Свойство Type Description
$author_icon
$author_link
$author_name
$color
$fallback
$fields
$image_url
$mrkdwn_in
$pretext
$text
$title
$title_link

Méthodes publiques

Méthode Description
__construct ( )
addField ( MessageField $field ) addField
getAuthorIcon ( ) : string Get author_icon
getAuthorLink ( ) : string Get author_link
getAuthorName ( ) Get author_name
getColor ( ) : string Get color
getFallback ( ) : string Get fallback
getFields ( ) : MessageField[] Get fields
getImageUrl ( ) : string Get image_url
getMrkdwnIn ( ) : string[] Get mrkdwn_in property
getPretext ( ) : string Get pretext
getText ( ) : string Get text
getTitle ( ) : string Get title
getTitleLink ( ) : string Get title_link
setAuthorIcon ( string $author_icon ) Set author_icon
setAuthorLink ( string $author_link ) Set author_link
setAuthorName ( string $author_name ) Set author_name
setColor ( string $color ) Set color
setFallback ( string $fallback ) Set fallback
setFields ( MessageField[] $fields ) Set fields
setImageUrl ( string $image_url ) Set image_url
setMrkdwnIn ( $mrkdwn_in ) Set mrkdwn_in property
setPretext ( string $pretext ) Set pretext
setText ( string $text ) Set text
setTitle ( string $title ) Set title
setTitleLink ( string $title_link ) Set title_link

Method Details

__construct() public méthode

public __construct ( )

addField() public méthode

addField
public addField ( MessageField $field )
$field MessageField

getAuthorIcon() public méthode

Get author_icon
public getAuthorIcon ( ) : string
Résultat string

getAuthorName() public méthode

Get author_name
public getAuthorName ( )

getColor() public méthode

Get color
public getColor ( ) : string
Résultat string

getFallback() public méthode

Get fallback
public getFallback ( ) : string
Résultat string

getFields() public méthode

Get fields
public getFields ( ) : MessageField[]
Résultat MessageField[] fields

getImageUrl() public méthode

Get image_url
public getImageUrl ( ) : string
Résultat string

getMrkdwnIn() public méthode

Get mrkdwn_in property
public getMrkdwnIn ( ) : string[]
Résultat string[] mrkdwn_in

getPretext() public méthode

Get pretext
public getPretext ( ) : string
Résultat string

getText() public méthode

Get text
public getText ( ) : string
Résultat string

getTitle() public méthode

Get title
public getTitle ( ) : string
Résultat string

setAuthorIcon() public méthode

Set author_icon
public setAuthorIcon ( string $author_icon )
$author_icon string the value to set

setAuthorName() public méthode

Set author_name
public setAuthorName ( string $author_name )
$author_name string the value to set

setColor() public méthode

Set color
public setColor ( string $color )
$color string the value to set

setFallback() public méthode

Set fallback
public setFallback ( string $fallback )
$fallback string the value to set

setFields() public méthode

Set fields
public setFields ( MessageField[] $fields )
$fields MessageField[] the value to set

setImageUrl() public méthode

Set image_url
public setImageUrl ( string $image_url )
$image_url string the value to set

setMrkdwnIn() public méthode

Set mrkdwn_in property
public setMrkdwnIn ( $mrkdwn_in )

setPretext() public méthode

Set pretext
public setPretext ( string $pretext )
$pretext string the value to set

setText() public méthode

Set text
public setText ( string $text )
$text string the value to set

setTitle() public méthode

Set title
public setTitle ( string $title )
$title string the value to set

Property Details

$author_icon protected_oe property

protected $author_icon

$author_name protected_oe property

protected $author_name

$color protected_oe property

protected $color

$fallback protected_oe property

protected $fallback

$fields protected_oe property

protected $fields

$image_url protected_oe property

protected $image_url

$mrkdwn_in protected_oe property

protected $mrkdwn_in

$pretext protected_oe property

protected $pretext

$text protected_oe property

protected $text

$title protected_oe property

protected $title