return $isInGroup;
}
+ /**
+ * @param string $dnGroup
+ * @param array|null &$seen
+ */
private function _groupMembers($dnGroup, &$seen = null) {
if ($seen === null) {
$seen = array();
return $groups;
}
+ /**
+ * @param string $dn
+ * @param array|null &$seen
+ */
private function getGroupsByMember($dn, &$seen = null) {
if ($seen === null) {
$seen = array();
return $allGroups;
}
+ /**
+ * @param string $group
+ */
public function groupMatchesFilter($group) {
return (strripos($group, $this->groupSearch) !== false);
}
/**
* @brief escapes (user provided) parts for LDAP filter
- * @param String $input, the provided value
- * @returns the escaped string
+ * @param string $input, the provided value
+ * @return the escaped string
*/
public function escapeFilterPart($input) {
$search = array('*', '\\', '(', ')');
return $this->ldapConnectionRes;
}
+ /**
+ * @param string|null $key
+ */
private function getCacheKey($key) {
$prefix = 'LDAP-'.$this->configID.'-'.$this->configPrefix.'-';
if(is_null($key)) {
return $result;
}
+ /**
+ * @param string|null $key
+ */
private function getCacheKey($key) {
$prefix = 'LDAP-Proxy-';
if(is_null($key)) {
/**
* @brief sets the found value for the configuration key in the WizardResult
* as well as in the Configuration instance
- * @param $key the configuration key
+ * @param string $key the configuration key
* @param $value the (detected) value
* @return null
*
/**
* @brief appends a list of values fr
* @param $result resource, the return value from ldap_get_attributes
- * @param $attribute string, the attribute values to look for
+ * @param string $attribute the attribute values to look for
* @param &$known array, new values will be appended here
* @return int, state on of the class constants LRESULT_PROCESSED_OK,
* LRESULT_PROCESSED_INVALID or LRESULT_PROCESSED_SKIP
$this->markedChange = true;
}
+ /**
+ * @param string $key
+ */
public function addOptions($key, $values) {
if(!is_array($values)) {
$values = array($values);