7
* This source file is subject to the new BSD license that is bundled
8
* with this package in the file LICENSE.txt.
9
* It is also available through the world-wide-web at this URL:
10
* http://framework.zend.com/license/new-bsd
11
* If you did not receive a copy of the license and are unable to
12
* obtain it through the world-wide-web, please send an email
13
* to license@zend.com so we can send you a copy immediately.
18
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
19
* @license http://framework.zend.com/license/new-bsd New BSD License
20
* @version $Id: Not.php 13089 2008-12-07 14:00:24Z sgehrig $
24
* @see Zend_Ldap_Filter_Abstract
26
require_once 'Zend/Ldap/Filter/Abstract.php';
29
* Zend_Ldap_Filter_Not provides a negation filter.
34
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
35
* @license http://framework.zend.com/license/new-bsd New BSD License
37
class Zend_Ldap_Filter_Not extends Zend_Ldap_Filter_Abstract
40
* The underlying filter.
42
* @var Zend_Ldap_Filter_Abstract
47
* Creates a Zend_Ldap_Filter_Not.
49
* @param Zend_Ldap_Filter_Abstract $filter
51
public function __construct(Zend_Ldap_Filter_Abstract $filter)
53
$this->_filter = $filter;
59
* @return Zend_Ldap_Filter_Abstract
61
public function negate()
63
return $this->_filter;
67
* Returns a string representation of the filter.
71
public function toString()
73
return '(!' . $this->_filter->toString() . ')';
b'\\ No newline at end of file'