db\QueryTrait isEmpty()

isEmpty() protected method

Returns a value indicating whether the give value is "empty".

The value is considered "empty", if one of the following conditions is satisfied:

  • it is null,
  • an empty string (''),
  • a string containing only whitespace characters,
  • or an empty array.
protected boolean isEmpty ( $value )
$value mixed
return boolean

If the value is empty

doc_Yii
2016-10-30 16:59:31
Comments
Leave a Comment

Please login to continue.