source/Application/Controller/PaymentController.php
protected function _checkArrValuesEmpty($aData, $aKeys)
    {
        if (!is_array($aKeys) || count($aKeys) < 1) {
            return false;
        }

        foreach ($aKeys as $sKey) {
            if (isset($aData[$sKey]) && !empty($aData[$sKey])) {
                return false;
            }
        }

        return true;
    }
protected function _checkArrValuesEmpty($aData, $aKeys)
    {
        if (!is_array($aKeys) || count($aKeys) < 1) {
            return false;
        }

        foreach ($aKeys as $sKey) {
            if (isset($aData[$sKey]) && !empty($aData[$sKey])) {
                return false;
            }
        }

        return true;
    }
protected function _checkArrValuesEmpty ( $ aData , $ aKeys ) { if ( ! is_array ( $ aKeys ) || count ( $ aKeys ) < 1 ) { return false ; } foreach ( $ aKeys as $ sKey ) { if ( isset ( $ aData [ $ sKey ] ) && ! empty ( $ aData [ $ sKey ] ) ) { return false ; } } return true ; }
Function to check if array values are empty againts given array keys

@param array $aData array of data to check
@param array $aKeys array of array indexes

@return bool
Function to check if array values are empty againts given array keys