PHPurple 0.3 alpha

View: New views
3 Messages — Rating Filter:   Alert me  

PHPurple 0.3 alpha

by Anatoliy Belsky :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi evebody,

I'm glad to inform the community about the new PHPurple version just being
issued yesterday. This release content:

* PurpleAccount::isConnecting() added
* PurpleAccount::getUserName() added
* PurpleAccount::getPassword() added
* PurpleClient::deleteAccount() added
* PurpleClient::findAccount() added
* PurpleClient::addAccount returns now a PurpleAccount instance (but was null)
* PurpleClient::authorizeRequest() added

Get it from there:
http://sourceforge.net/projects/phpurple

See a fresh example there:
http://thinker.rubay.de/archives/22-PHPurple-v0.3-alpha-released.html

Regards

Anatoliy

--
PECL development discussion Mailing List (http://pecl.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: PHPurple 0.3 alpha

by Alexey Zakhlestin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Jul 1, 2008 at 10:18 PM, Anatoliy Belsky <anatoliy@...> wrote:

> Hi evebody,
>
> I'm glad to inform the community about the new PHPurple version just being
> issued yesterday. This release content:
>
> * PurpleAccount::isConnecting() added
> * PurpleAccount::getUserName() added
> * PurpleAccount::getPassword() added
> * PurpleClient::deleteAccount() added
> * PurpleClient::findAccount() added
> * PurpleClient::addAccount returns now a PurpleAccount instance (but was null)
> * PurpleClient::authorizeRequest() added
>
> Get it from there:
> http://sourceforge.net/projects/phpurple
>
> See a fresh example there:
> http://thinker.rubay.de/archives/22-PHPurple-v0.3-alpha-released.html
>

Do i correctly understand, that it is currently impossible to have
several purple-connections from the same script?


--
Alexey Zakhlestin
http://blog.milkfarmsoft.com/

--
PECL development discussion Mailing List (http://pecl.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: PHPurple 0.3 alpha

by Anatoliy Belsky :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

No, if you add some multiple accounts, like this

[php]
$client = CustomPurpleClient::getInstance();

$client->addAccount("msn://nickname@...:password");
$client->addAccount("aim://nickname:password");
$client->addAccount("yahoo://nickname@...:password");

$client->connectToSignal("signed-on");

$client->runLoop();
[/php]

or even multiple accounts of the same protocol, each of them will make its own
connection. However, only one instance of the CustomPurpleClient class in the
same script is possible. So seeing each script instance as a normal im client
is the right vision.

On Wednesday 02 July 2008, Alexey Zakhlestin wrote:
> On Tue, Jul 1, 2008 at 10:18 PM, Anatoliy Belsky <anatoliy@...>
wrote:

> > Hi evebody,
> >
> > I'm glad to inform the community about the new PHPurple version just
> > being issued yesterday. This release content:
> >
> > * PurpleAccount::isConnecting() added
> > * PurpleAccount::getUserName() added
> > * PurpleAccount::getPassword() added
> > * PurpleClient::deleteAccount() added
> > * PurpleClient::findAccount() added
> > * PurpleClient::addAccount returns now a PurpleAccount instance (but was
> > null) * PurpleClient::authorizeRequest() added
> >
> > Get it from there:
> > http://sourceforge.net/projects/phpurple
> >
> > See a fresh example there:
> > http://thinker.rubay.de/archives/22-PHPurple-v0.3-alpha-released.html
>
> Do i correctly understand, that it is currently impossible to have
> several purple-connections from the same script?
>
>
> --
> Alexey Zakhlestin
> http://blog.milkfarmsoft.com/



--
PECL development discussion Mailing List (http://pecl.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

LightInTheBox - Buy quality products at wholesale price