MediaWiki master
MediaWiki\Specials\Contribute\Card\ContributeCard Class Reference

Public Member Functions

 __construct (string $title, string $description, string $icon, ContributeCardAction $action)
 
 getAction ()
 
 getDescription ()
 
 getIcon ()
 
 getTitle ()
 
 setAction (ContributeCardAction $action)
 
 setDescription (string $description)
 
 setIcon (string $icon)
 
 setTitle (string $title)
 
 toArray ()
 

Detailed Description

Definition at line 4 of file ContributeCard.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Specials\Contribute\Card\ContributeCard::__construct ( string $title,
string $description,
string $icon,
ContributeCardAction $action )

Definition at line 18 of file ContributeCard.php.

Member Function Documentation

◆ getAction()

MediaWiki\Specials\Contribute\Card\ContributeCard::getAction ( )
Returns
ContributeCardAction

Definition at line 70 of file ContributeCard.php.

◆ getDescription()

MediaWiki\Specials\Contribute\Card\ContributeCard::getDescription ( )
Returns
string

Definition at line 56 of file ContributeCard.php.

◆ getIcon()

MediaWiki\Specials\Contribute\Card\ContributeCard::getIcon ( )
Returns
string

Definition at line 42 of file ContributeCard.php.

◆ getTitle()

MediaWiki\Specials\Contribute\Card\ContributeCard::getTitle ( )
Returns
string

Definition at line 28 of file ContributeCard.php.

◆ setAction()

MediaWiki\Specials\Contribute\Card\ContributeCard::setAction ( ContributeCardAction $action)
Parameters
ContributeCardAction$action

Definition at line 77 of file ContributeCard.php.

◆ setDescription()

MediaWiki\Specials\Contribute\Card\ContributeCard::setDescription ( string $description)
Parameters
string$description

Definition at line 63 of file ContributeCard.php.

◆ setIcon()

MediaWiki\Specials\Contribute\Card\ContributeCard::setIcon ( string $icon)
Parameters
string$icon

Definition at line 49 of file ContributeCard.php.

◆ setTitle()

MediaWiki\Specials\Contribute\Card\ContributeCard::setTitle ( string $title)
Parameters
string$title

Definition at line 35 of file ContributeCard.php.

◆ toArray()

MediaWiki\Specials\Contribute\Card\ContributeCard::toArray ( )
Returns
array

Definition at line 84 of file ContributeCard.php.


The documentation for this class was generated from the following file: