Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
OpenSpout\Common\Helper\Escaper\EscaperInterface Interface Reference
Inheritance diagram for OpenSpout\Common\Helper\Escaper\EscaperInterface:
OpenSpout\Common\Helper\Escaper\ODS OpenSpout\Common\Helper\Escaper\XLSX

Public Member Functions

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

Member Function Documentation

◆ escape()

OpenSpout\Common\Helper\Escaper\EscaperInterface::escape ( string $string)

Escapes the given string to make it compatible with PHP.

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

Implemented in OpenSpout\Common\Helper\Escaper\ODS, and OpenSpout\Common\Helper\Escaper\XLSX.

◆ unescape()

OpenSpout\Common\Helper\Escaper\EscaperInterface::unescape ( string $string)

Unescapes the given string to make it compatible with PHP.

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

Implemented in OpenSpout\Common\Helper\Escaper\ODS, and OpenSpout\Common\Helper\Escaper\XLSX.


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