cvs: pear /Net_LDAP2/LDAP2 Filter.php
| From: | Benedikt Hallinger | Date: | Thu, 30 Apr 2009 07:53:49 +0000 |
| Subject: | cvs: pear /Net_LDAP2/LDAP2 Filter.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-56009@lists.php.net to get a copy of this message | ||
beni Thu Apr 30 07:53:49 2009 UTC
Modified files:
/pear/Net_LDAP2/LDAP2 Filter.php
Log:
* phpcs errors fixed
http://cvs.php.net/viewvc.cgi/pear/Net_LDAP2/LDAP2/Filter.php?r1=1.10&r2=1.11&diff_format=u
Index: pear/Net_LDAP2/LDAP2/Filter.php
diff -u pear/Net_LDAP2/LDAP2/Filter.php:1.10 pear/Net_LDAP2/LDAP2/Filter.php:1.11
--- pear/Net_LDAP2/LDAP2/Filter.php:1.10 Thu Apr 30 07:36:21 2009
+++ pear/Net_LDAP2/LDAP2/Filter.php Thu Apr 30 07:53:49 2009
@@ -10,7 +10,7 @@
* @author Benedikt Hallinger <beni@php.net>
* @copyright 2009 Benedikt Hallinger
* @license http://www.gnu.org/copyleft/lesser.html LGPL
-* @version CVS: $Id: Filter.php,v 1.10 2009/04/30 07:36:21 beni Exp $
+* @version CVS: $Id: Filter.php,v 1.11 2009/04/30 07:53:49 beni Exp $
* @link http://pear.php.net/package/Net_LDAP2/
*/
@@ -210,7 +210,7 @@
* Call this method statically: $filter = Net_LDAP2_Filter('or', array($filter1,
$filter2))
* If the array contains filter strings instead of filter objects, we will try to parse them.
*
- * @param string $log_op The locicall operator. May be "and",
"or", "not" or the subsequent logical equivalents "&",
"|", "!"
+ * @param string $log_op The locicall operator. May be "and",
"or", "not" or the subsequent logical equivalents "&",
"|", "!"
* @param array|Net_LDAP2_Filter $filters array with Net_LDAP2_Filter objects
*
* @return Net_LDAP2_Filter|Net_LDAP2_Error
@@ -360,7 +360,7 @@
*/
public function asString()
{
- if ($this->_isLeaf()) {
+ if ($this->isLeaf()) {
$return = $this->_filter;
} else {
$return = '';
@@ -376,6 +376,7 @@
* Alias for perl interface as_string()
*
* @see asString()
+ * @return string|Net_LDAP2_Error
*/
public function as_string()
{
@@ -450,7 +451,7 @@
* @access protected
* @return boolean
*/
- protected function _isLeaf()
+ protected function isLeaf()
{
if (count($this->_subfilters) > 0) {
return false; // Container!