Possible meanings are "The Pharisee stood and prayed about himself in this way" or "The Pharisee stood by himself and prayed."