Sì, anche perchè, da quello che so, non è possibile richiamare funzioni lato-server come con javascript.