Definition at line 5 of file ContributeCardAction.php.
◆ __construct()
MediaWiki\Specials\Contribute\Card\ContributeCardAction::__construct |
( |
string |
$action, |
|
|
string |
$actionText, |
|
|
string |
$actionType |
|
) |
| |
- Parameters
-
string | $action | the action's url or command to be attached to card element |
string | $actionText | the action's text to be shown on the bottom of the card element |
string | $actionType | the action's type, specifying if it is a url or a function, ... |
Definition at line 20 of file ContributeCardAction.php.
◆ getAction()
MediaWiki\Specials\Contribute\Card\ContributeCardAction::getAction |
( |
| ) |
|
◆ getActionText()
MediaWiki\Specials\Contribute\Card\ContributeCardAction::getActionText |
( |
| ) |
|
◆ getActionType()
MediaWiki\Specials\Contribute\Card\ContributeCardAction::getActionType |
( |
| ) |
|
◆ setAction()
MediaWiki\Specials\Contribute\Card\ContributeCardAction::setAction |
( |
string |
$action | ) |
|
◆ setActionText()
MediaWiki\Specials\Contribute\Card\ContributeCardAction::setActionText |
( |
string |
$actionText | ) |
|
◆ toArray()
MediaWiki\Specials\Contribute\Card\ContributeCardAction::toArray |
( |
| ) |
|
The documentation for this class was generated from the following file: