Kronolith_Attendee::toJson PHP Méthode

toJson() public méthode

Returns a simple object suitable for JSON transport representing this event.
public toJson ( ) : object
Résultat object An object respresenting this attendee.
    public function toJson()
    {
        return (object) array('a' => intval($this->role), 'e' => $this->addressObject->bare_address, 'i' => $this->id, 'l' => strval($this->displayName), 'r' => intval($this->response), 'u' => $this->user);
    }