CloneSet939


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2430.957class_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12255
libraries/joomla/client/ldap.php
22267
libraries/joomla/client/ldap.php
32336
libraries/joomla/client/ldap.php
42348
libraries/joomla/client/ldap.php
Clone Instance
1
Line Count
2
Source Line
255
Source File
libraries/joomla/client/ldap.php

        /**
         * Replace an entry and return a true or false result
         *
         * @param string dn The DN which contains the attribute you want to replace
         * @param string attribute The attribute values you want to replace
         * @return mixed result of comparison (true, false, -1 on error)
         */
        function replace($dn, $attribute) {
                return @ldap_mod_replace($this->_resource ,$dn, $attribute);
              }


Clone Instance
2
Line Count
2
Source Line
267
Source File
libraries/joomla/client/ldap.php

        /**
         * Modifies an entry and return a true or false result
         *
         * @param string dn The DN which contains the attribute you want to modify
         * @param string attribute The attribute values you want to modify
         * @return mixed result of comparison (true, false, -1 on error)
         */
        function modify($dn, $attribute) {
                return @ldap_modify($this->_resource ,$dn, $attribute);
              }


Clone Instance
3
Line Count
2
Source Line
336
Source File
libraries/joomla/client/ldap.php

        /**
         * Create a new DN
         *
         * @param string dn The DN where you want to put the object
         * @param array entries An array of arrays describing the object to add
         * @return bool result of operation
         */
        function create($dn, $entries) {
                return @ldap_add($this->_resource ,$dn, $entries);
              }


Clone Instance
4
Line Count
2
Source Line
348
Source File
libraries/joomla/client/ldap.php

        /**
         * Add an attribute to the given DN
         * Note: DN has to exist already
         *
         * @param string dn The DN of the entry to add the attribute
         * @param array entry An array of arrays with attributes to add
         * @return bool Result of operation
         */
        function add($dn, $entry) {
                return @ldap_mod_add($this->_resource ,$dn, $entry);
              }


Clone AbstractionParameter Count: 3Parameter Bindings

/**
         * Add an attribute to the given DN
         * Note: DN has to exist already
         *
         * @param string dn The DN of the entry to add the attribute
         * @param array entry An array of arrays with attributes to add
         * @return bool Result of operation
         */
/**
         * Create a new DN
         *
         * @param string dn The DN where you want to put the object
         * @param array entries An array of arrays describing the object to add
         * @return bool result of operation
         */
/**
         * Modifies an entry and return a true or false result
         *
         * @param string dn The DN which contains the attribute you want to modify
         * @param string attribute The attribute values you want to modify
         * @return mixed result of comparison (true, false, -1 on error)
         */
/**
         * Replace an entry and return a true or false result
         *
         * @param string dn The DN which contains the attribute you want to replace
         * @param string attribute The attribute values you want to replace
         * @return mixed result of comparison (true, false, -1 on error)
         */
function [[#variable3fbf28e0]]($dn, [[#variable3fbf2840]]) {
  return @ [[#variable3fbf2880]]($this->_resource ,$dn, [[#variable3fbf2840]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#3fbf28e0]]
add 
12[[#3fbf28e0]]
create 
13[[#3fbf28e0]]
modify 
14[[#3fbf28e0]]
replace 
21[[#3fbf2840]]
$entry 
22[[#3fbf2840]]
$entries 
23[[#3fbf2840]]
$attribute 
24[[#3fbf2840]]
$attribute 
31[[#3fbf2880]]
ldap_mod_add 
32[[#3fbf2880]]
ldap_add 
33[[#3fbf2880]]
ldap_modify 
34[[#3fbf2880]]
ldap_mod_replace