cvs: pear /Net_LDAP/LDAP Filter.php
| From: | Benedikt Hallinger | Date: | Fri, 21 Sep 2007 08:44:07 +0000 |
| Subject: | cvs: pear /Net_LDAP/LDAP Filter.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-48641@lists.php.net to get a copy of this message | ||
beni Fri Sep 21 08:44:07 2007 UTC
Modified files:
/pear/Net_LDAP/LDAP Filter.php
Log:
* Renamed print() to printMe() since php doesnt allow us to have a print()-method (for wathever
reason :( )
http://cvs.php.net/viewvc.cgi/pear/Net_LDAP/LDAP/Filter.php?r1=1.11&r2=1.12&diff_format=u
Index: pear/Net_LDAP/LDAP/Filter.php
diff -u pear/Net_LDAP/LDAP/Filter.php:1.11 pear/Net_LDAP/LDAP/Filter.php:1.12
--- pear/Net_LDAP/LDAP/Filter.php:1.11 Fri Sep 21 07:47:25 2007
+++ pear/Net_LDAP/LDAP/Filter.php Fri Sep 21 08:44:07 2007
@@ -22,7 +22,7 @@
// | Authors: Benedikt Hallinger |
// +--------------------------------------------------------------------------+
//
-// $Id: Filter.php,v 1.11 2007/09/21 07:47:25 beni Exp $
+// $Id: Filter.php,v 1.12 2007/09/21 08:44:07 beni Exp $
require_once("PEAR.php");
require_once('Util.php');
@@ -59,7 +59,7 @@
*
* @package Net_LDAP
* @author Benedikt Hallinger <beni@php.net>
-* @version $Revision: 1.11 $
+* @version $Revision: 1.12 $
*/
class Net_LDAP_Filter extends PEAR
@@ -310,11 +310,13 @@
* Print the text representation of the filter to FH, or the currently selected output handle if
FH is not given
*
* This method is onlay for compatibility to the perl interface.
+ * However, the original method was called "print" but due to PHP language
restrictions,
+ * we can't have a print() method.
*
* @param resource $FH (optional) A filehandle resource
* @return true|Net_LDAP_Error
*/
- function print($FH = false)
+ function printMe($FH = false,$x='',$y='')
{
if (!is_resource($FH)) {
print($this->asString());