resolved todo
This commit is contained in:
parent
49faf10d78
commit
411dae55b4
@ -128,7 +128,7 @@ class ManialinkManager implements ManialinkPageAnswerListener, CallbackListener
|
|||||||
* @param bool $hideOnClick
|
* @param bool $hideOnClick
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public function sendManialink($manialinkText, $logins = null, $timeout = 0, $hideOnClick = false) { //TODO imrpvoe
|
public function sendManialink($manialinkText, $logins = null, $timeout = 0, $hideOnClick = false) {
|
||||||
$manialinkText = (string)$manialinkText;
|
$manialinkText = (string)$manialinkText;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@ -235,13 +235,11 @@ class ManialinkManager implements ManialinkPageAnswerListener, CallbackListener
|
|||||||
* @return array Returns the labels (to add special Properties later)
|
* @return array Returns the labels (to add special Properties later)
|
||||||
*/
|
*/
|
||||||
public function labelLine(Frame $frame, array $labelStrings, array $properties = array()) {
|
public function labelLine(Frame $frame, array $labelStrings, array $properties = array()) {
|
||||||
// TODO overwrite standard properties with properties from array
|
|
||||||
|
|
||||||
// define standard properties
|
// define standard properties
|
||||||
$hAlign = Control::LEFT;
|
$hAlign = (isset($properties['hAlign']) ? $properties['hAlign'] : Control::LEFT);
|
||||||
$style = Label_Text::STYLE_TextCardSmall;
|
$style = (isset($properties['style']) ? $properties['style'] : Label_Text::STYLE_TextCardSmall);
|
||||||
$textSize = 1.5;
|
$textSize = (isset($properties['textSize']) ? $properties['textSize'] : 1.5);
|
||||||
$textColor = 'FFF';
|
$textColor = (isset($properties['textColor']) ? $properties['textColor'] : 'FFF');
|
||||||
$profile = (isset($properties['profile']) ? $properties['profile'] : false);
|
$profile = (isset($properties['profile']) ? $properties['profile'] : false);
|
||||||
$script = (isset($properties['script']) ? $properties['script'] : null);
|
$script = (isset($properties['script']) ? $properties['script'] : null);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user