ILIAS  trunk Revision v11.0_alpha-1723-g8e69f309bab
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.ilMultiFilesSubmitRecursiveSlashesStripper.php
Go to the documentation of this file.
1 <?php
2 
23 {
27  protected $postVar = null;
28 
32  public function getPostVar(): ?string
33  {
34  return $this->postVar;
35  }
36 
40  public function setPostVar($postVar): void
41  {
42  $this->postVar = $postVar;
43  }
44 
49  public function manipulateFormInputValues(array $inputValues): array
50  {
51  return $inputValues;
52  }
53 
58  public function manipulateFormSubmitValues(array $submitValues): array
59  {
61  return $submitValues;
62  }
63 
67  protected function manipulateFileSubmitValues(): void
68  {
69  if ($_FILES) {
71  $_FILES[$this->getPostVar()]
72  );
73  }
74  }
75 }
static stripSlashesRecursive($a_data, bool $a_strip_html=true, string $a_allow="")
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
manipulateFileSubmitValues()
perform the strip slashing on files submit
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...