models/oxpspaymorrowoxuser.php
protected function _getDateComponentAsInteger( $aDate, $iKey, $sZeroString = '00' )
    {
        if ( empty( $aDate[$iKey] ) or ( $aDate[$iKey] == $sZeroString ) ) {
            return 0;
        }

        return (int) $aDate[$iKey];
    }
protected function _getDateComponentAsInteger( $aDate, $iKey, $sZeroString = '00' )
    {
        if ( empty( $aDate[$iKey] ) or ( $aDate[$iKey] == $sZeroString ) ) {
            return 0;
        }

        return (int) $aDate[$iKey];
    }
protected function _getDateComponentAsInteger ( $ aDate , $ iKey , $ sZeroString = '00' ) { if ( empty ( $ aDate [ $ iKey ] ) or ( $ aDate [ $ iKey ] == $ sZeroString ) ) { return 0 ; } return ( int ) $ aDate [ $ iKey ] ; }
Get date component from an array by key as an integer.

@param array  $aDate       Date components as array.
@param int    $iKey        Date component index.
@param string $sZeroString A zero representing string value, default is "00".

@return int
Get date component from an array by key as an integer .