1 <?php
2 /**
3 * @package Joomla.Platform
4 * @subpackage Client
5 *
6 * @copyright Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
7 * @license GNU General Public License version 2 or later; see LICENSE
8 */
9
10 defined('JPATH_PLATFORM') or die;
11
12 use Joomla\Ldap\LdapClient;
13
14 /**
15 * LDAP client class
16 *
17 * @since 12.1
18 * @deprecated 4.0 Use Joomla\Ldap\LdapClient instead
19 */
20 class JClientLdap extends LdapClient
21 {
22 /**
23 * Constructor
24 *
25 * @param object $configObj An object of configuration variables
26 *
27 * @since 11.1
28 */
29 public function __construct($configObj = null)
30 {
31 JLog::add('JClientLdap is deprecated. Use Joomla\Ldap\LdapClient instead.', JLog::WARNING, 'deprecated');
32 parent::__construct($configObj);
33 }
34 }
35
36 /**
37 * Deprecated class placeholder. You should use JClientLdap instead.
38 *
39 * @since 11.1
40 * @deprecated 12.3 (Platform) & 4.0 (CMS)
41 */
42 class JLDAP extends JClientLdap
43 {
44 /**
45 * Constructor
46 *
47 * @param object $configObj An object of configuration variables
48 *
49 * @since 11.1
50 */
51 public function __construct($configObj = null)
52 {
53 JLog::add('JLDAP is deprecated. Use JClientLdap instead.', JLog::WARNING, 'deprecated');
54 parent::__construct($configObj);
55 }
56 }
57