PocketMine
TranslationContainer Class Reference
Inheritance diagram for TranslationContainer:
TextContainer

Public Member Functions

 __construct ($text, array $params=[])
 
 getParameters ()
 
 getParameter ($i)
 
 setParameter ($i, $str)
 
 setParameters (array $params)
 
- Public Member Functions inherited from TextContainer
 __construct ($text)
 
 setText ($text)
 
 getText ()
 
 __toString ()
 

Protected Attributes

 $params = []
 
- Protected Attributes inherited from TextContainer
 $text
 

Constructor & Destructor Documentation

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

Member Function Documentation

getParameter (   $i)
Parameters
int$i
Returns
string
getParameters ( )
Returns
string[]
setParameter (   $i,
  $str 
)
Parameters
int$i
string$str
setParameters ( array  $params)
Parameters
string[]$params

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