PHP Class pocketmine\event\TranslationContainer

Inheritance: extends TextContainer
显示文件 Open project: ClearSkyTeam/ClearSky Class Usage Examples

Protected Properties

Property Type Description
$params string[]

Public Methods

Method Description
__construct ( string $text, array $params = [] )
getParameter ( integer $i ) : string
getParameters ( ) : string[]
setParameter ( integer $i, string $str )
setParameters ( array $params )

Method Details

__construct() public method

public __construct ( string $text, array $params = [] )
$text string
$params array

getParameter() public method

public getParameter ( integer $i ) : string
$i integer
return string

getParameters() public method

public getParameters ( ) : string[]
return string[]

setParameter() public method

public setParameter ( integer $i, string $str )
$i integer
$str string

setParameters() public method

public setParameters ( array $params )
$params array

Property Details

$params protected_oe property

protected string[] $params
return string[]