Returns the escaped and translated prompt text to display according to the type.
@return string
12853
protected function getPromptText()
    {
        if ($this->prompt === null) {
            $isMulti = ends_with($this->getDisplayMode(), 'multi');
            $this->prompt = $isMulti
                ? 'backend::lang.fileupload.upload_file'
                : 'backend::lang.fileupload.default_prompt';
        }

        return str_replace('%s', '<i class="icon-upload"></i>', e(trans($this->prompt)));
    }
1055439
public function getFormattedMessage()
    {
        $message = "";
        $message .= "[HTTP " . $this->httpStatus->getStatus() . "] - " . $this->getHttpMessage() . "\n";
        foreach ($this->errors as $key => $value) {
            if ($value instanceof PagSeguroError) {
                $message .= "$key [" . $value->getCode() . "] - " . $value->getMessage();
            }
        }
        return $message;
    }
441726
public function getReceivedText()
    {
        if ($this->isUserMessage()) {
            return isset($this->message->text) ? $this->message->text : '';
        }

        return '';
    }
1332895
public function getColorfulText()
    {
        $output = "\033[1;31m--[ Agile Toolkit Exception ]---------------------------\n";
        $output .= get_class($this).": \033[47m".$this->getMessage()."\033[0;31m".
            ($this->getCode() ? ' [code: '.$this->getCode().']' : '');

        foreach ($this->params as $key => $val) {
            $key = str_pad($key, 19, ' ', STR_PAD_LEFT);
            $output .= "\n".$key.': '.$this->toString($val);
        }

        $output .= "\n\033[0mStack Trace: ";

        $in_atk = true;
        $escape_frame = false;

        foreach ($this->getMyTrace() as $call) {
            if (!isset($call['file'])) {
                $call['file'] = '';
            } elseif (
                $in_atk &&
                strpos($call['file'], '/data/src/') === false &&
                strpos($call['file'], '/core/src/') === false &&
                strpos($call['file'], '/dsql/src/') === false
            ) {
                $escape_frame = true;
                $in_atk = false;
            }

            $file = str_pad(substr($call['file'], -40), 40, ' ', STR_PAD_LEFT);

            $line = str_pad(@$call['line'], 4, ' ', STR_PAD_LEFT);

            $output .= "\n\033[0;34m".$file."\033[0m";
            $output .= ":\033[0;31m".$line."\033[0m";

            if (isset($call['object'])) {
                $name = (!isset($call['object']->name)) ? get_class($call['object']) : $call['object']->name;
                $output .= " - \033[0;32m".$name."\033[0m";
            }

            $output .= " \033[0;32m";

            if (isset($call['class'])) {
                $output .= $call['class'].'::';
            }

            if ($escape_frame) {
                $output .= "\033[0,31m".$call['function'];
                $escape_frame = false;

                $args = [];
                foreach ($call['args'] as $arg) {
                    $args[] = $this->toString($arg);
                }

                $output .= "\n".str_repeat(' ', 20)."\033[0,31m(".implode(', ', $args);
            } else {
                $output .= "\033[0,33m".$call['function'].'(';
            }

            $output .= ')';
        }

        if ($p = $this->getPrevious()) {
            $output .= "\n\033[0mCaused by Previous Exception:\n";
            $output .= "\033[1;31m".get_class($p).': '.$p->getMessage()."\033[0;31m".
                ($p->getCode() ? ' [code: '.$p->getCode().']' : '');
        }

        // next print params

        $output .= "\n\033[1;31m--------------------------------------------------------\n";

        return $output."\033[0m";
    }
697292
protected function getScriptText()
    {
        $scriptText = "";
        foreach ($this->imageUrls as $imageUrl) {
            $escapedImageUrl = Builder::escapeText($imageUrl);
            $scriptText      .= "
PreloadImage({$escapedImageUrl});";
        }
        return $scriptText;
    }
1274091
private function _getFormat(){
        $format = '';
        switch(strtoupper($this->format)){
            case 'PNG':
                $format = CINDrawing::IMG_FORMAT_PNG;
                break;
            case 'JPEG':
                $format = CINDrawing::IMG_FORMAT_JPEG;
                break;
            case 'GIF':
                $format = CINDrawing::IMG_FORMAT_GIF;
                break;
            case 'WBMP':
                $format = CINDrawing::IMG_FORMAT_WBMP;
                break;
            default:
                $format = CINDrawing::IMG_FORMAT_PNG;
                break;
        }
        return $format;
    }
426051
public function getCharset()
    {
        return (isset(Yii::$app->charset) ? Yii::$app->charset : null) ?: mb_internal_encoding();
    }
365873
public function getCodeAsString()
    {
        switch ($this->getCode()) {
            case self::BURIED:
                return 'Buried';
                break;

            case self::NOT_FOUND:
                return 'Not Found';
                break;

            case self::EXPECTED_CRLF:
                return 'Expected CRLF';
                break;

            case self::JOB_TOO_BIG:
                return 'Job Too Big';
                break;

            case self::DEADLINE_SOON:
                return 'Deadline Soon';
                break;

            case self::TIMED_OUT:
                return 'Timed Out';
                break;

            case self::TUBE_NAME_TOO_LONG:
                return 'Tube Name Too Long';
                break;

            case self::NOT_IGNORED:
                return 'Not Ignored';
                break;

            case self::OUT_OF_MEMORY:
                return 'Out of Memory';
                break;

            case self::INTERNAL_ERROR:
                return 'Internal Error';
                break;

            case self::BAD_FORMAT:
                return 'Bad Format';
                break;

            case self::UNKNOWN_COMMAND:
                return 'Unknown Command';
                break;

            case self::SERVER_OFFLINE:
                return 'Server Offline';
                break;

            case self::SERVER_READ:
                return 'Server Read Error';
                break;

            case self::SERVER_WRITE:
                return 'Server Write Error';
                break;

            default:
                return 'Unknown';
                break;
        }
    }
742569
public function getContent()
    {
        $content = '{\fonttbl';

        foreach ($this->_fontFamilies as $key => $value) {
            $content .= '{\f' . $key . ' ' . $value . ';}';
        }

        $content .= '}' . "\r\n";

        return $content;
    }
1150304
public String getText()
    {
        String strText = super.getText();
        if (strText != null)
            if (strText.equals(m_strDescription))
                strText = Constants.BLANK;
        return strText;
    }
724407
protected function getEscapedCharacters() : array
    {
        if (self::$escapedSpecialCharacters !== null) {
            return self::$escapedSpecialCharacters;
        }

        return self::$escapedSpecialCharacters = \array_values(self::$specialCharactersMapping);
    }
1053007
protected function render_text(): string
    {
        return '<input type="text" '.$this->metaString().
            ' id="'.$this->escape->attr($this->id).
            '" name="'.$this->escape->attr($this->name).
            '" value="'.$this->escape->attr($this->value).'" />';
    }
1055455
public function getAbstractType(): string
    {
        foreach ($this->reverseMapping as $type => $candidates) {
            foreach ($candidates as $candidate) {
                if (is_string($candidate)) {
                    if (strtolower($candidate) == strtolower($this->type)) {
                        return $type;
                    }

                    continue;
                }

                if (strtolower($candidate['type']) != strtolower($this->type)) {
                    continue;
                }

                foreach ($candidate as $option => $required) {
                    if ($option == 'type') {
                        continue;
                    }

                    if ($this->{$option} != $required) {
                        continue 2;
                    }
                }

                return $type;
            }
        }

        return 'unknown';
    }
560778
protected function getText()
    {
        if ($this->value === null) {
            $text = $this->text;
        } elseif (is_array($this->value)) {
            $text = vsprintf($this->text, $this->value);
        } else {
            $text = sprintf($this->text, $this->value);
        }

        return $text;
    }
1174117
public function getDrawString()
    {
        $output = $this->prompt;
        if ($this->echo !== false) {
            if ($this->echo === true) {
                $buffer = $this->linebuffer;
            } else {
                $buffer = str_repeat($this->echo, $this->strlen($this->linebuffer));
            }

            // write output, then move back $reverse chars (by sending backspace)
            $output .= $buffer . str_repeat("\x08", $this->strwidth($buffer) - $this->getCursorCell());
        }

        return $output;
    }
801850
public function getDisplayHelpTextLstr(): ?Lstr {
		$helpText = $this->displayConfig->getHelpText();
		if ($helpText === null) {
			return null;
		}
		
		return Rocket::createLstr($helpText, $this->getEiMask()->getModuleNamespace())->t($n2nLocale);
	}
661254
public function getText() {
		$args	= $this->args;
		$msg	= $this->getMessage();
// 		$msg	= $this->field.'_'.$this->getMessage();
// 		if( !hasTranslation($msg, $this->domain) ) {
// 			if( hasTranslation($this->getMessage().'_field', $this->domain) ) {
// 				$msg	= $this->getMessage().'_field';
// 				$args	= array_merge(array('FIELD'=>t($this->getField(), $this->domain)), $args);
// 			} else
// 			if( hasTranslation($this->getMessage(), $this->domain) ) {
// 				$msg	= $this->getMessage();
// 			}
// 		}
		return t($msg, $this->domain, $args);
	}