public function verifyRequiredFields()
    {
        foreach ($this->Fields() as $field) {
            //====================================================================//
            // Field is NOT required
            if (!$field["required"]) {
                continue;
            }
            //====================================================================//
            // Field is Required but not available
            if (!$this->verifyRequiredFieldIsAvailable($field["id"])) {
                return Splash::log()->err(
                    "ErrLocalFieldMissing",
                    __CLASS__,
                    __FUNCTION__,
                    $field["name"]."(".$field["id"].")"
                );
            }
        }

        return true;
    }
public function verifyRequiredFields()
    {
        foreach ($this->Fields() as $field) {
            //====================================================================//
            // Field is NOT required
            if (!$field["required"]) {
                continue;
            }
            //====================================================================//
            // Field is Required but not available
            if (!$this->verifyRequiredFieldIsAvailable($field["id"])) {
                return Splash::log()->err(
                    "ErrLocalFieldMissing",
                    __CLASS__,
                    __FUNCTION__,
                    $field["name"]."(".$field["id"].")"
                );
            }
        }

        return true;
    }
public function verifyRequiredFields ( ) { foreach ( $ this -> Fields ( ) as $ field ) { //====================================================================// // Field is NOT required if ( ! $ field [ "required" ] ) { continue ; } //====================================================================// // Field is Required but not available if ( ! $ this -> verifyRequiredFieldIsAvailable ( $ field [ "id" ] ) ) { return Splash :: log ( ) -> err ( "ErrLocalFieldMissing" , __CLASS__ , __FUNCTION__ , $ field [ "name" ] . "(" . $ field [ "id" ] . ")" ) ; } } return true ; }
Check Required Fields are Available

@return bool
Check Required Fields are Available