Added the zend framework 2 library, the path is specified in line no.26 in zend_modul...
[openemr.git] / interface / modules / zend_modules / library / Zend / Ldap / Filter / StringFilter.php
blobc939b23fd9a590774ad40579e2124ef5e8ba6106
1 <?php
2 /**
3 * Zend Framework (http://framework.zend.com/)
5 * @link http://github.com/zendframework/zf2 for the canonical source repository
6 * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
7 * @license http://framework.zend.com/license/new-bsd New BSD License
8 */
10 namespace Zend\Ldap\Filter;
12 /**
13 * Zend\Ldap\Filter\StringFilter provides a simple custom string filter.
15 class StringFilter extends AbstractFilter
17 /**
18 * The filter.
20 * @var string
22 protected $filter;
24 /**
25 * Creates a Zend\Ldap\Filter\StringFilter.
27 * @param string $filter
29 public function __construct($filter)
31 $this->filter = $filter;
34 /**
35 * Returns a string representation of the filter.
37 * @return string
39 public function toString()
41 return '(' . $this->filter . ')';