Documentation

FormUtil
in package

Tags
author

Bernhard Schussek bschussek@gmail.com

Table of Contents

Methods

isEmpty()  : bool
Returns whether the given data is empty.
__construct()  : mixed
This class should not be instantiated.

Methods

isEmpty()

Returns whether the given data is empty.

public static isEmpty(mixed $data) : bool

This logic is reused multiple times throughout the processing of a form and needs to be consistent. PHP keyword empty cannot be used as it also considers 0 and "0" to be empty.

Parameters
$data : mixed
Return values
bool

__construct()

This class should not be instantiated.

private __construct() : mixed

        
On this page

Search results