@@ -2595,9 +2595,7 @@ PHP_METHOD(LDAP_Connection, add)
25952595{
25962596 php_ldap_do_modify (INTERNAL_FUNCTION_PARAM_PASSTHRU , PHP_LD_FULL_ADD , true);
25972597}
2598- /* }}} */
25992598
2600- /* {{{ Add entries to LDAP directory */
26012599PHP_FUNCTION (ldap_add_ext )
26022600{
26032601 php_ldap_do_modify (INTERNAL_FUNCTION_PARAM_PASSTHRU , PHP_LD_FULL_ADD , true);
@@ -2614,6 +2612,11 @@ PHP_FUNCTION(ldap_mod_replace)
26142612/* }}} */
26152613
26162614/* {{{ Replace attribute values with new ones */
2615+ PHP_METHOD (LDAP_Connection , mod_replace )
2616+ {
2617+ php_ldap_do_modify (INTERNAL_FUNCTION_PARAM_PASSTHRU , LDAP_MOD_REPLACE , true);
2618+ }
2619+
26172620PHP_FUNCTION (ldap_mod_replace_ext )
26182621{
26192622 php_ldap_do_modify (INTERNAL_FUNCTION_PARAM_PASSTHRU , LDAP_MOD_REPLACE , true);
@@ -2628,6 +2631,11 @@ PHP_FUNCTION(ldap_mod_add)
26282631/* }}} */
26292632
26302633/* {{{ Add attribute values to current */
2634+ PHP_METHOD (LDAP_Connection , mod_add )
2635+ {
2636+ php_ldap_do_modify (INTERNAL_FUNCTION_PARAM_PASSTHRU , LDAP_MOD_ADD , true);
2637+ }
2638+
26312639PHP_FUNCTION (ldap_mod_add_ext )
26322640{
26332641 php_ldap_do_modify (INTERNAL_FUNCTION_PARAM_PASSTHRU , LDAP_MOD_ADD , true);
@@ -2642,6 +2650,11 @@ PHP_FUNCTION(ldap_mod_del)
26422650/* }}} */
26432651
26442652/* {{{ Delete attribute values */
2653+ PHP_METHOD (LDAP_Connection , mod_del )
2654+ {
2655+ php_ldap_do_modify (INTERNAL_FUNCTION_PARAM_PASSTHRU , LDAP_MOD_DELETE , true);
2656+ }
2657+
26452658PHP_FUNCTION (ldap_mod_del_ext )
26462659{
26472660 php_ldap_do_modify (INTERNAL_FUNCTION_PARAM_PASSTHRU , LDAP_MOD_DELETE , true);
0 commit comments