noobIOSCoder / xmpphp

Automatically exported from code.google.com/p/xmpphp
0 stars 0 forks source link

Use of class constants #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Instead of using a define statements, in PHP5 we can use class constants.
Here is a patch for Logging class.

Original issue reported on code.google.com by pasha.zu...@gmail.com on 7 Apr 2008 at 4:23

Attachments:

GoogleCodeExporter commented 9 years ago
As a side note, the PEAR::Log package has an almost identical API, is well
maintained, and you can plug in all sorts of other Logging containers (log to
database, console, error log, whatever you like)

Original comment by daniel.o...@gmail.com on 13 Apr 2008 at 3:47

GoogleCodeExporter commented 9 years ago
There is also an another PHP-XMPP project out there, phpjabberlib. Looks like 
it will
be part of Zend Framework.
http://framework.zend.com/wiki/display/ZFPROP/Zend_Jabber
http://code.google.com/p/phpjabberlib/

Original comment by pasha.zu...@gmail.com on 14 Apr 2008 at 12:58

GoogleCodeExporter commented 9 years ago
Looks like it hasn't been updated in ages.

Original comment by nathanfr...@gmail.com on 16 Apr 2008 at 10:49

GoogleCodeExporter commented 9 years ago
@daniel: In a perfect world, that would be great.  But I'm trying to keep my 
barrier
of entry at a minimum, and thus, no dependencies.

Original comment by nathanfr...@gmail.com on 16 Apr 2008 at 10:50

GoogleCodeExporter commented 9 years ago
Class constants used in SVN

Original comment by nathanfr...@gmail.com on 27 May 2008 at 11:22