Push button timer will have a set time for lighting to stay on, motion sensor may have in-built time setting, they should all be wired from the same circuit,
i would expect which ever has the longest time setting, to override the other, dependant on when each one detected motion or button pressed.