ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
trait.ilObjFileTransformation.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
use
ILIAS\Refinery\Transformation
;
22
use
ILIAS\Refinery\Factory
;
23
27
trait
ilObjFileTransformation
28
{
29
public
function
getEmptyStringToNullTransformation():
Transformation
30
{
31
return
$this->getRefinery()->custom()->transformation(
static
fn($text) => (empty($text)) ?
null
: $text);
32
}
33
34
abstract
protected
function
getRefinery():
Factory
;
35
}
Transformation
null
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Definition:
shib_logout.php:144
Factory
ILIAS\Refinery\Factory
Definition:
Factory.php:25
ilObjFileTransformation
ILIAS\Refinery\Transformation
A transformation is a function from one datatype to another.
Definition:
Transformation.php:34
components
ILIAS
File
classes
trait.ilObjFileTransformation.php
Generated on Sun Aug 31 2025 23:02:57 for ILIAS by
1.8.13 (using
Doxyfile
)