Moodle PHP Documentation 4.1
Moodle 4.1.19+ (Build: 20250711) (5f47dc23ffc)
Box\Spout\Common\Helper\Escaper\EscaperInterface Interface Reference
Inheritance diagram for Box\Spout\Common\Helper\Escaper\EscaperInterface:
Box\Spout\Common\Helper\Escaper\CSV Box\Spout\Common\Helper\Escaper\ODS Box\Spout\Common\Helper\Escaper\XLSX

Public Member Functions

 escape ($string)
 Escapes the given string to make it compatible with PHP.
 
 unescape ($string)
 Unescapes the given string to make it compatible with PHP.
 

Member Function Documentation

◆ escape()

Box\Spout\Common\Helper\Escaper\EscaperInterface::escape ( $string)

Escapes the given string to make it compatible with PHP.

Parameters
string$stringThe string to escape
Return values
stringThe escaped string

Implemented in Box\Spout\Common\Helper\Escaper\CSV, Box\Spout\Common\Helper\Escaper\ODS, and Box\Spout\Common\Helper\Escaper\XLSX.

◆ unescape()

Box\Spout\Common\Helper\Escaper\EscaperInterface::unescape ( $string)

Unescapes the given string to make it compatible with PHP.

Parameters
string$stringThe string to unescape
Return values
stringThe unescaped string

Implemented in Box\Spout\Common\Helper\Escaper\CSV, Box\Spout\Common\Helper\Escaper\ODS, and Box\Spout\Common\Helper\Escaper\XLSX.


The documentation for this interface was generated from the following file: