@@ -11,8 +11,8 @@ |
||
11 | 11 | </head> |
12 | 12 | <body> |
13 | 13 | <?php |
14 | - // put your code here |
|
14 | + // put your code here |
|
15 | 15 | |
16 | - ?> |
|
16 | + ?> |
|
17 | 17 | </body> |
18 | 18 | </html> |
@@ -80,13 +80,13 @@ discard block |
||
80 | 80 | */ |
81 | 81 | public $badpasswordtime; |
82 | 82 | |
83 | - /** |
|
84 | - * The name that represents an object. |
|
85 | - * |
|
86 | - * @link https://msdn.microsoft.com/en-us/library/ms675449(v=vs.85).aspx |
|
87 | - * |
|
88 | - * @var string |
|
89 | - */ |
|
83 | + /** |
|
84 | + * The name that represents an object. |
|
85 | + * |
|
86 | + * @link https://msdn.microsoft.com/en-us/library/ms675449(v=vs.85).aspx |
|
87 | + * |
|
88 | + * @var string |
|
89 | + */ |
|
90 | 90 | public $cn; |
91 | 91 | |
92 | 92 | /** |
@@ -125,13 +125,13 @@ discard block |
||
125 | 125 | */ |
126 | 126 | public $contact; |
127 | 127 | |
128 | - /** |
|
129 | - * The entry's country attribute. |
|
130 | - * |
|
131 | - * @link https://msdn.microsoft.com/en-us/library/ms675432(v=vs.85).aspx |
|
132 | - * |
|
133 | - * @var string |
|
134 | - */ |
|
128 | + /** |
|
129 | + * The entry's country attribute. |
|
130 | + * |
|
131 | + * @link https://msdn.microsoft.com/en-us/library/ms675432(v=vs.85).aspx |
|
132 | + * |
|
133 | + * @var string |
|
134 | + */ |
|
135 | 135 | public $c; |
136 | 136 | |
137 | 137 | /** |
@@ -154,13 +154,13 @@ discard block |
||
154 | 154 | */ |
155 | 155 | public $defaultnamingcontext; |
156 | 156 | |
157 | - /** |
|
158 | - * Contains the name for the department in which the user works. |
|
159 | - * |
|
160 | - * @link https://msdn.microsoft.com/en-us/library/ms675490(v=vs.85).aspx |
|
161 | - * |
|
162 | - * @var string |
|
163 | - */ |
|
157 | + /** |
|
158 | + * Contains the name for the department in which the user works. |
|
159 | + * |
|
160 | + * @link https://msdn.microsoft.com/en-us/library/ms675490(v=vs.85).aspx |
|
161 | + * |
|
162 | + * @var string |
|
163 | + */ |
|
164 | 164 | public $department; |
165 | 165 | |
166 | 166 | /** |
@@ -678,7 +678,7 @@ discard block |
||
678 | 678 | */ |
679 | 679 | public $telephonenumber; |
680 | 680 | |
681 | - /** |
|
681 | + /** |
|
682 | 682 | * The users thumbnail photo path. |
683 | 683 | * |
684 | 684 | * @return string |
@@ -63,7 +63,7 @@ |
||
63 | 63 | */ |
64 | 64 | public function build($condition) |
65 | 65 | { |
66 | - if (!is_array($condition)) { |
|
66 | + if (!is_array($condition)) { |
|
67 | 67 | return (string) $condition; |
68 | 68 | } elseif (empty($condition)) { |
69 | 69 | return ''; |
@@ -96,14 +96,14 @@ |
||
96 | 96 | return ldap_modify_batch($this->resource, $dn, $values); |
97 | 97 | } |
98 | 98 | |
99 | - /** |
|
100 | - * Add attribute values to current attributes. |
|
101 | - * |
|
102 | - * @param string $dn |
|
103 | - * @param array $entry |
|
104 | - * |
|
105 | - * @return mixed |
|
106 | - */ |
|
99 | + /** |
|
100 | + * Add attribute values to current attributes. |
|
101 | + * |
|
102 | + * @param string $dn |
|
103 | + * @param array $entry |
|
104 | + * |
|
105 | + * @return mixed |
|
106 | + */ |
|
107 | 107 | public function modAdd($dn, array $entry) |
108 | 108 | { |
109 | 109 | return ldap_mod_add($this->resource, $dn, $entry); |