JHtmlStringTest::testAbridge
Tests the JHtmlString::abridge method.
Signature
public function testAbridge(string
$text,
integer
$length,
integer
$intro,
string
$expected )
Parameters
-
$text
- The text to truncate.
-
$length
- The maximum length of the text.
-
$intro
- The maximum length of the intro text.
-
$expected
- The expected result.
Returns
- void