Re: proposal for extending XML/RPC.php

From: Date: Fri, 12 Mar 2004 13:44:08 +0000
Subject: Re: proposal for extending XML/RPC.php
References: 1 2 3 4  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-26337@lists.php.net to get a copy of this message
> Your package shouldn't output anything at all, if at all possible. Imagine > this running from an included file, and no longer being able to send > headers. > A better solution would be to return the text in whichever format you want. > IE: A toHTML() function to return HTML would be fine, since many other > classes also work this way :) > I totally agree with you, but the purpose of this method is primarly for debugging . Anyway, I would have a confirmation that the XML_RPC_Client->toHTML() method name would have sufficient meaning ? And, in this case the discover() method will return an associative array, and toHTML() the html formatted output. The only things that borrying me is that we don't see any relation between the discover() and toHTML() method name. What are yours advices ? Thanks.

« previous php.pear.dev (#26337) next »