Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
Neos
Neos
ViewHelpers
Backend
ColorOfStringViewHelper
PHP Class Neos\Neos\ViewHelpers\Backend\ColorOfStringViewHelper
Inheritance:
extends
Neos\FluidAdaptor\Core\ViewHelper\AbstractViewHelper
显示文件
Open project: neos/neos-development-collection
Public Methods
Method
Description
render
(
string
$string
= null,
integer
$minimalBrightness
= 50 ) :
string
Outputs a hex color code (#000000) based on $text
Method Details
render()
public
method
Outputs a hex color code (#000000) based on $text
public
render
(
string
$string
= null,
integer
$minimalBrightness
= 50 ) :
string
$string
string
$minimalBrightness
integer
return
string