wefra-odoo11/modules/ClassForm.php

13 lines
294 B
PHP
Raw Normal View History

2019-10-02 21:28:58 +00:00
<?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));
}
}