validators\FileValidator isEmpty()

isEmpty() public method

Checks if the given value is empty.

A value is considered empty if it is null, an empty array, or an empty string. Note that this method is different from PHP empty(). It will return false when the value is 0.

public boolean isEmpty ( $value, $trim = false )
$value mixed

The value to be checked

$trim
return boolean

Whether the value is empty

doc_Yii
2016-10-30 17:13:42
Comments
Leave a Comment

Please login to continue.