ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
NonNegIntValidator.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24
26{
27 use DataFetcher;
28
29 public function isValid(
30 ElementInterface $element,
31 bool $ignore_marker
32 ): bool {
33 return (bool) preg_match('/^\d+$/', $this->dataValue($element, $ignore_marker));
34 }
35}
isValid(ElementInterface $element, bool $ignore_marker)
return['delivery_method'=> 'php',]
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...