array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'ja', ), 'this' => array ( 0 => 'function.ldap-mod_add-ext.php', 1 => 'ldap_mod_add_ext', ), 'up' => array ( 0 => 'ref.ldap.php', 1 => 'LDAP 関数', ), 'prev' => array ( 0 => 'function.ldap-list.php', 1 => 'ldap_list', ), 'next' => array ( 0 => 'function.ldap-mod-add.php', 1 => 'ldap_mod_add', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'ja', 'path' => 'reference/ldap/functions/ldap-mod-add-ext.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 7 >= 7.3.0, PHP 8)
ldap_mod_add_ext — 現在の属性に属性を追加する
$ldap
,$dn
,$entry
,$controls
= null
ldap_mod_add() と同じですが、 ldap_parse_result() を使ってパースされた LDAP 結果を表す LDAP\Result クラスのインスタンスを返します。
ldap_mod_add() を参照ください。
LDAP\Result クラスのインスタンスを返します。失敗した場合に false
を返します
バージョン | 説明 |
---|---|
8.1.0 |
引数 ldap は、LDAP\Connection
クラスのインスタンスを期待するようになりました。
これより前のバージョンでは、有効な ldap link リソース を期待していました。
|
8.1.0 | LDAP\Result クラスのインスタンスを返すようになりました。 これより前のバージョンでは、リソース を返していました。 |
8.0.0 |
controls は、nullable になりました。
これより前のバージョンでは、デフォルト値が [] でした。
|
7.3.0 |
controls のサポートが追加されました。
|