ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
class.ilExcelUtils.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4/*
5* Utilities for Microsoft Excel Import/Export
6*
7* @author Helmut Schottmüller <ilias@aurealis.de>
8* @version $Id$
9*
10*/
11
13{
14 function _convert_text($a_text, $a_target = "has been removed")
15 {
16 return strip_tags($a_text); // #14542
17
18 /* utf-8 is supported
19 $a_text = preg_replace("/<[^>]*?>/", "", $a_text);
20 return utf8_decode($a_text);
21 */
22 }
23
24} // END class.ilExcelUtils.php
25?>
_convert_text($a_text, $a_target="has been removed")