ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilContainerBaseXmlParser.php
Go to the documentation of this file.
1<?php
2
20{
21 protected function trimAndStripAttribs(array $attribs): array
22 {
23 $ret = [];
24 foreach ($attribs as $k => $v) {
25 $ret[$k] = $this->trimAndStrip((string) $v);
26 }
27 return $ret;
28 }
29
30 protected function trimAndStrip(string $input): string
31 {
32 return ilUtil::stripSlashes(trim($input));
33 }
34}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static stripSlashes(string $a_str, bool $a_strip_html=true, string $a_allow="")