public function setDefaults($arrDefaults = array())
    {
        if (is_array($arrDefaults)) {
            $this->__defaults = $arrDefaults;
        } else {
            throw new \InvalidArgumentException(
                "Invalid argument passed in to ValidForm->setDefaults(). Expected array got " .
                gettype($arrDefaults),
                E_ERROR
            );
        }
    }