예제 #1
0
 public function endPoint()
 {
     //if we know the value of op_endpoint already
     if (!is_null($this->op_endpoint)) {
         return $this->op_endpoint;
     }
     //fetch the endpoint from Google
     $endpoint = GoogleOpenID::getEndPoint();
     //save it
     $this->op_endpoint = $endpoint;
     //return the endpoint
     return $endpoint;
 }