Kronolith_Attendee::__toString PHP Méthode

__toString() public méthode

public __toString ( )
    public function __toString()
    {
        if (strlen($this->email)) {
            return strval($this->addressObject);
        }
        $result = $this->user;
        if (strlen($this->name)) {
            if (strlen($result)) {
                $result = ' (' . $result . ')';
            }
            return $this->name . $result;
        }
        return $result;
    }