wefra-odoo11/modules/ClassForm.php
2019-10-02 23:28:58 +02:00

13 lines
294 B
PHP

<?php
class ClassForm {
public function __construct(){}
public function __destruct(){}
public function cleanData($data, $allow_tags=""){
$this->_data = $data;
$this->_allowTags = $allow_tags;
return htmlspecialchars(strip_tags($this->_data, $this->_allowTags));
}
}