PHP Class Traq\Helpers\Format

Inheritance: extends Avalon\Helpers\Format
Mostrar archivo Open project: nirix/traq

Public Methods

Method Description
text ( string $text, boolean $strip_html = true ) : string Formats the supplied text.
ticketLinks ( string $text ) : string Links #123 and project#123 to the corresponding ticket.
wikiLinks ( string $text ) : string Converts the wiki [[page]] and [[text|page]] to HTML links.

Method Details

text() public static method

Formats the supplied text.
public static text ( string $text, boolean $strip_html = true ) : string
$text string
$strip_html boolean Disables HTML, making it safe.
return string