auditCodesManager.php File Reference

Go to the source code of this file.

Data Structures

class  AuditCodesManager
 (c) 2010 Mandriva, http://www.mandriva.com More...

Functions

 getObjectName ($ldap_uri)


Function Documentation

getObjectName ( ldap_uri  ) 

Definition at line 67 of file auditCodesManager.php.

References $uid.

00067                                   {
00068     preg_match('/[a-z]{2,3}=([^,]*)/', $ldap_uri, $matches);
00069     if(count($matches) > 0) {
00070         $uid = $matches[1];
00071         unset($matches);
00072         return $uid;
00073     }
00074     // this is not a ldap uri
00075     else {
00076         return $ldap_uri;
00077     }
00078 }


Generated on Tue May 4 11:47:35 2010 for MMC web interface by  doxygen 1.5.8