libpurple php binding
Sadrul Habib Chowdhury
imadil at gmail.com
Tue Nov 27 18:19:20 EST 2007
* Anatoliy Belsky had this to say on [28 Nov 2007, 00:05:38 +0100]:
[snip]
>
> http://sourceforge.net/projects/phpurple
>
Nice! (although I think 'phurple' is a pretty nice name ;) [1])
[snip]
> $account = purple_account_new("somenick at hotmail.com", "MSN");
> purple_account_set_password($account, "somepass");
> purple_account_set_enabled($account, $ui_id, true);
>
Do you have plans to make things all object-oriented like? So it'd be:
$account->set_password("somepass");
$account->set_enabled($ui_id, true);
[1] http://pidgin.im/~sadrul/others/phurple.tar.bz2
Sadrul
More information about the Devel
mailing list