public function isValidObjectFieldsList($fieldsList)
    {
        //====================================================================//
        // Checks List Type
        if (!is_array($fieldsList) && !($fieldsList instanceof ArrayObject)) {
            return Splash::log()->err('ErrWrongFieldList');
        }
        //====================================================================//
        // Checks List Not Empty
        if (empty($fieldsList)) {
            return Splash::log()->err('ErrEmptyFieldList');
        }

        return Splash::log()->deb('MsgFieldListOk');
    }
public function isValidObjectFieldsList($fieldsList)
    {
        //====================================================================//
        // Checks List Type
        if (!is_array($fieldsList) && !($fieldsList instanceof ArrayObject)) {
            return Splash::log()->err('ErrWrongFieldList');
        }
        //====================================================================//
        // Checks List Not Empty
        if (empty($fieldsList)) {
            return Splash::log()->err('ErrEmptyFieldList');
        }

        return Splash::log()->deb('MsgFieldListOk');
    }
public function isValidObjectFieldsList ( $ fieldsList ) { //====================================================================// // Checks List Type if ( ! is_array ( $ fieldsList ) && ! ( $ fieldsList instanceof ArrayObject ) ) { return Splash :: log ( ) -> err ( 'ErrWrongFieldList' ) ; } //====================================================================// // Checks List Not Empty if ( empty ( $ fieldsList ) ) { return Splash :: log ( ) -> err ( 'ErrEmptyFieldList' ) ; } return Splash :: log ( ) -> deb ( 'MsgFieldListOk' ) ; }
Verify Object Field List

@param null|array|ArrayObject $fieldsList Object Field List

@return bool
Verify Object Field List