gets rtf info part

@return string
438790
protected function getInfoPart()
    {
        $part = '{\info'."\r\n";

        foreach ($this->_properties as $key => $value) {
            $value = PHPRtfLite_Utf8::getUnicodeEntities($value, $this->_charset);
            $part .= '{\\' . $key . ' ' . $value . '}'."\r\n";
        }

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

        return $part;
    }
893256
protected function getFontsSectionContent()
    {
        $content = '<fonts count="' . count($this->styleIdToStyleMappingTable) . '">';

        /** @var \Box\Spout\Writer\Style\Style $style */
        foreach ($this->getRegisteredStyles() as $style) {
            $content .= '<font>';

            $content .= '<sz val="' . $style->getFontSize() . '"/>';
            $content .= '<color rgb="' . Color::toARGB($style->getFontColor()) . '"/>';
            $content .= '<name val="' . $style->getFontName() . '"/>';

            if ($style->isFontBold()) {
                $content .= '<b/>';
            }
            if ($style->isFontItalic()) {
                $content .= '<i/>';
            }
            if ($style->isFontUnderline()) {
                $content .= '<u/>';
            }
            if ($style->isFontStrikethrough()) {
                $content .= '<strike/>';
            }

            $content .= '</font>';
        }

        $content .= '</fonts>';

        return $content;
    }
314482
private function getRtmpArguments()
    {
        $arguments = [];

        if ($this->protocol == 'rtmp') {
            foreach ([
                'url'           => '-rtmp_tcurl',
                'webpage_url'   => '-rtmp_pageurl',
                'player_url'    => '-rtmp_swfverify',
                'flash_version' => '-rtmp_flashver',
                'play_path'     => '-rtmp_playpath',
                'app'           => '-rtmp_app',
            ] as $property => $option) {
                if (isset($this->{$property})) {
                    $arguments[] = $option;
                    $arguments[] = $this->{$property};
                }
            }

            if (isset($this->rtmp_conn)) {
                foreach ($this->rtmp_conn as $conn) {
                    $arguments[] = '-rtmp_conn';
                    $arguments[] = $conn;
                }
            }
        }

        return $arguments;
    }
1374635
public function getContent()
    {
        $content = '';

        if ($this->_size > 0) {
            $content .= '\fs' . ($this->_size * 2) . ' ';
        }

        if ($this->_fontFamily && $this->_fontTable) {
            $fontIndex = $this->_fontTable->getFontIndex($this->_fontFamily);
            if ($fontIndex !== false) {
                $content .= '\f' . $fontIndex . ' ';
            }
        }

        if ($this->_color && $this->_colorTable) {
            $colorIndex = $this->_colorTable->getColorIndex($this->_color);
            if ($colorIndex !== false) {
                $content .= '\cf' . $colorIndex . ' ';
            }
        }

        if ($this->_backgroundColor && $this->_colorTable) {
            $colorIndex = $this->_colorTable->getColorIndex($this->_backgroundColor);
            if ($colorIndex !== false) {
                $content .= '\chcbpat' . $colorIndex . ' ';
            }
        }

        if ($this->_isBold) {
            $content .= '\b ';
        }
        if ($this->_isItalic) {
            $content .= '\i ';
        }
        if ($this->_isUnderlined) {
            $content .= '\ul ';
        }
        if ($this->_animation) {
            $content .= '\animtext' . $this->_animation;
        }
        if ($this->_isStriked) {
            $content .= '\strike ' . $this->_animation;
        }
        elseif ($this->_isDoubleStriked) {
            $content .= '\striked1 ' . $this->_animation;
        }

        return $content;
    }
385685
public function getFileInfo()
    {
        $prefix = str_replace(yii::getAlias(yii::getAlias('@frontend/web')), '', yii::getAlias('@ueditor'));
        return array(
            "state" => $this->stateInfo,
            "url" => $prefix . $this->fullName,
            "title" => $this->fileName,
            "original" => $this->oriName,
            "type" => $this->fileType,
            "size" => $this->fileSize
        );
    }
760614
protected function getRoutesContent()
    {
        if (!$stub = $this->getRoutesStub()) {
            return '';
        }

        return strtr($stub, array_merge($this->getCommonReplacements(), [
            '{{baseUrl}}'    => implode('/', $this->sectionSegments),
            '{{controller}}' => implode('\\', $this->sectionSegmentsStudly).'Controller',
        ]));
    }
682543
public function getServerInfo()
    {
        return sprintf('%s:%s%s%s', $this->host, $this->port, $this->path, $this->core);
    }
712270
protected function getBrowserInfo()
    {
        $browser = $this->browser->getBrowser() ?: 'Other';
        $browserVersion = $this->browser->getVersion();

        if (trim($browserVersion)) {
            return $browser . ' (' . $browserVersion . ')';
        }

        return $browser;
    }
1008104
public function getFileInfo()
    {
        $result = array(
            "state" => $this->stateInfo,
            "url" => $this->fullName,
            "title" => $this->fileName,
            "original" => $this->oriName,
            "type" => $this->fileType,
            "size" => $this->fileSize
        );
        if( in_array($_GET['action'], ['uploadfile', 'uploadvideo', 'uploadscrawl']) ) $result['url'] = yii::$app->params['site']['url'].'/uploads/article/ueditor'.$result['url'];
        return $result;
    }
742214
public function getInfoString() : string
   {

      $out = '';
      $haveData = false;

      if ( isset( $this->_attributes[ 'host' ] ) )
      {
         $out = 'host="' . $this->_attributes[ 'host' ] . '"';
         $haveData = true;
      }
      if ( isset( $this->_attributes[ 'port' ] ) )
      {
         $out .= ( $haveData ? '; ' : '' ) . 'port=' . $this->_attributes[ 'port' ];
         $haveData = true;
      }
      if ( isset( $this->_attributes[ 'dbname' ] ) )
      {
         $out .= ( $haveData ? '; ' : '' ) . 'dbname="' . $this->_attributes[ 'dbname' ] . '"';
         $haveData = true;
      }
      if ( isset( $this->_attributes[ 'unix_socket' ] ) )
      {
         $out .= ( $haveData ? '; ' : '' ) . 'unix_socket="' . $this->_attributes[ 'unix_socket' ] . '"';
         $haveData = true;
      }
      if ( isset( $this->_attributes[ 'charset' ] ) )
      {
         $out .= ( $haveData ? '; ' : '' ) . 'charset="' . $this->_attributes[ 'charset' ] . '"';
         $haveData = true;
      }
      $out .= ( $haveData ? '; ' : '' ) . 'user=[' .
              ( empty( $this->_attributes[ 'user' ] ) ? 'un' : '' ) . 'defined]"';
      $out .= ( $haveData ? '; ' : '' ) . 'password=[' .
              ( empty( $this->_attributes[ 'password' ] ) ? 'un' : '' ) . 'defined]"';

      return $out;

   }
742569
public function getContent()
    {
        $content = '{\fonttbl';

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

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

        return $content;
    }
1031149
public function getAsString(): string
    {
        return implode(
            '_',
            array_filter([
                (string) $this->getLanguage(),
                (string) $this->getRegion(),
                (string) $this->getScript(),
            ])
        );
    }
159255
public function getFileInfo()
    {
        return array(
            "originalName" => $this->oriName ,
            "name" => $this->fileName ,
            "url" => $this->fullName ,
            "size" => $this->fileSize ,
            "type" => $this->fileType ,
            "state" => $this->stateInfo
        );
    }
1302834
public function getHref() {

		if(is_null($this->href)) {

			if($this->localPage) {

				$pathSegments = [];
				$e = $this;

				do {
					$pathSegments[] = $e->path;
				} while ($e = $e->menu->getParentEntry());

				if(Application::getInstance()->getRouter()->getServerSideRewrite()) {

					if(($script = basename($this->menu->getScript(), '.php')) == 'index') {
						$script = '/';
					}

					else {
						$script = '/'. $script . '/';
					}
				}

				else {
					$script = '/' . $this->menu->getScript() . '/';
				}

				$this->href = $script . implode('/', array_reverse(array_map('rawurlencode', $pathSegments)));

			}

			else {

				$this->href = $this->path;

			}
		}

		return $this->href;
	}
876364
public function getFormatted()
    {
        if ($this->getUnit() != "") {
            return $this->getValue() . " " . $this->getUnit();
        } else {
            return (string)$this->getValue();
        }
    }
156177
public function getPathInfo()
	{
		$path = trim($this->uri->getPath(false), '/');
		
		if($this->pathBase == '')
		{
			return $path;
		}
		
		if($path == $this->pathBase)
		{
			return '';
		}
		
		return preg_replace("'^" . preg_quote($this->pathBase, "'") . "/'i", '', $path);
	}
806180
public function getEzPlatformInfo()
    {
        $info = [
            'version' => 'dev',
            'symfony' => Kernel::VERSION,
            'bundles' => $this->bundles,
        ];
        ksort($info['bundles'], SORT_FLAG_CASE | SORT_STRING);

        return $info;
    }