1<?php
2// (c) Copyright by authors of the Tiki Wiki CMS Groupware Project
3//
4// All Rights Reserved. See copyright.txt for details and a complete list of authors.
5// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
6// $Id$
7
8class Math_Formula_Function_Clean extends Math_Formula_Function
9{
10	function evaluate($element)
11	{
12        $out = "";
13
14	    foreach ($element as $child) {
15            $out .= TikiLib::remove_non_word_characters_and_accents($this->evaluateChild($child));
16        }
17
18        return $out;
19	}
20
21}
22