LSaddon::phpldapadmin : Added icon and give an use case example in documentation

This commit is contained in:
Benjamin Renard 2013-06-28 16:53:56 +02:00
parent 9f34843ded
commit b1af98a36a
2 changed files with 19 additions and 0 deletions

View file

@ -22,4 +22,23 @@ define('LS_PHPLDAPADMIN_VIEW_OBJECT_URL_FORMAT','//'.$_SERVER['SERVER_NAME'].'/p
</funcprototype>
</funcsynopsis>
</para>
<programlisting linenumbering="unnumbered">
<citetitle>Exemple d'utilisation</citetitle><![CDATA[$GLOBALS['LSobjects']['LSpeople'] = array (
[...]
'customActions' => array (
'redirectPhpLdapAdmin' => array (
'function' => 'redirectToPhpLdapAdmin',
'label' => 'See in PhpLdapAdmin',
'hideLabel' => True,
'noConfirmation' => true,
'disableOnSuccessMsg' => true,
'icon' => 'phpldapadmin',
'rights' => array (
'admin'
)
),
),
[...]
);]]>
</programlisting>
</sect2>

Binary file not shown.

After

Width:  |  Height:  |  Size: 778 B