Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Prado
TPropertyValue
ensureNullIfEmpty
Prado\TPropertyValue::ensureNullIfEmpty PHP 메소드
TPropertyValue 1 문서
파일 보기
프로젝트 열기: pradosoft/prado
ensureNullIfEmpty()
공개
정적인
메소드
Converts the value to 'null' if the given value is empty
public
static
ensureNullIfEmpty
(
$value
) :
mixed
리턴
mixed
input or NULL if input is empty
public static function ensureNullIfEmpty($value) { return empty($value) ? null : $value; }
TPropertyValue
ensureArray
ensureBoolean
ensureEnum
ensureFloat
ensureInteger
ensureNullIfEmpty
ensureObject
ensureString