clean() public méthode

Remove HTML tags (except those enumerated) and non-printable characters to mitigate XSS/code injection attacks
public clean ( $arg, $tags = NULL ) : mixed
$arg mixed
$tags string
Résultat mixed
Exemple #1
0
 /**
  * Return the current element. Implementation of the Iterator interface.
  *
  * @return mixed
  */
 public function current()
 {
     return $this->base->clean($this->response['_embedded'][$this->entity][$this->position]);
 }