HCE Project DC service web UI
0.2
Hierarchical Cluster Engine DC service web UI
|
Public Member Functions | |
formatShortText ($value, $shortTextLimit=100, $defaultValue= '-') | |
createLinkForEachUrlInString ($urlsString, $splitter= ',') | |
arrayUrlsToStringUrls ($urls, $arrayKey= 'url', $limit=64, $splitter= ',') |
Definition at line 2 of file YFormatter.php.
YFormatter::arrayUrlsToStringUrls | ( | $urls, | |
$arrayKey = 'url' , |
|||
$limit = 64 , |
|||
$splitter = ',' |
|||
) |
Convert array urls to single string url
array | $urls | |
string | $arrayKey | |
integer | $limit | |
string | $splitter |
Definition at line 49 of file YFormatter.php.
YFormatter::createLinkForEachUrlInString | ( | $urlsString, | |
$splitter = ',' |
|||
) |
Create link for each url in string urls
string | $urlsString | |
string | $splitter |
Definition at line 29 of file YFormatter.php.
YFormatter::formatShortText | ( | $value, | |
$shortTextLimit = 100 , |
|||
$defaultValue = '-' |
|||
) |
Text formatter shortening long texts and displaying the full text as the span title.
To be used in GridViews for instance.
string | $value | |
string | $shortTextLimit |
Definition at line 13 of file YFormatter.php.