Skip to content
Snippets Groups Projects
Commit aa4078ce authored by Remy Blom's avatar Remy Blom
Browse files

added an example with array in the docs

parent 18564605
No related branches found
No related tags found
No related merge requests found
`core:AttributeCopy`
===================
Filter that renames attributes.
Filter that copies attributes.
Examples
--------
Copy a single attribute (user's uid will be copied to the user's username):
Copy a single attribute (user's `uid` will be copied to the user's `username`):
'authproc' => array(
50 => array(
......@@ -16,3 +16,11 @@ Copy a single attribute (user's uid will be copied to the user's username):
),
),
Copy a single attribute to more then one attribute (user's `uid` will be copied to the user's `username` and to `urn:mace:dir:attribute-def:uid`)
'authproc' => array(
50 => array(
'class' => 'core:AttributeCopy',
'uid' => array('username', 'urn:mace:dir:attribute-def:uid'),
),
),
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment