phpBB API Documentation
Interface

phpbb\textformatter\renderer_interface

interface renderer_interface

Methods

string render(string $text)

Render given text

null set_smilies_path($path)

Set the smilies' path

bool get_viewcensors()

Return the value of the "viewcensors" option

bool get_viewflash()

Return the value of the "viewflash" option

bool get_viewimg()

Return the value of the "viewimg" option

bool get_viewsmilies()

Return the value of the "viewsmilies" option

null set_viewcensors(bool $value)

Set the "viewcensors" option

null set_viewflash(bool $value)

Set the "viewflash" option

null set_viewimg(bool $value)

Set the "viewimg" option

null set_viewsmilies(bool $value)

Set the "viewsmilies" option

Details

at line 24
public string render(string $text)

Render given text

Parameters

string $text Text, as parsed by something that implements \phpbb\textformatter\parser

Return Value

string

at line 31
public null set_smilies_path($path)

Set the smilies' path

Parameters

$path

Return Value

null

at line 38
public bool get_viewcensors()

Return the value of the "viewcensors" option

Return Value

bool Option's value

at line 45
public bool get_viewflash()

Return the value of the "viewflash" option

Return Value

bool Option's value

at line 52
public bool get_viewimg()

Return the value of the "viewimg" option

Return Value

bool Option's value

at line 59
public bool get_viewsmilies()

Return the value of the "viewsmilies" option

Return Value

bool Option's value

at line 67
public null set_viewcensors(bool $value)

Set the "viewcensors" option

Parameters

bool $value Option's value

Return Value

null

at line 75
public null set_viewflash(bool $value)

Set the "viewflash" option

Parameters

bool $value Option's value

Return Value

null

at line 83
public null set_viewimg(bool $value)

Set the "viewimg" option

Parameters

bool $value Option's value

Return Value

null

at line 91
public null set_viewsmilies(bool $value)

Set the "viewsmilies" option

Parameters

bool $value Option's value

Return Value

null