<html> <head> <title>Docs for page schemaTest.php</title> <link rel="stylesheet" type="text/css" href="../media/style.css"> </head> <body> <table border="0" cellspacing="0" cellpadding="0" height="48" width="100%"> <tr> <td class="header_top">tools</td> </tr> <tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr> <tr> <td class="header_menu"> [ <a href="../classtrees_tools.html" class="menu">class tree: tools</a> ] [ <a href="../elementindex_tools.html" class="menu">index: tools</a> ] [ <a href="../elementindex.html" class="menu">all elements</a> ] </td> </tr> <tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr> </table> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr valign="top"> <td width="200" class="menu"> <div id="ric"> <p><a href="../ric_INSTALL.html">INSTALL</a></p> <p><a href="../ric_README.html">README</a></p> </div> <b>Packages:</b><br /> <a href="../li_configuration.html">configuration</a><br /> <a href="../li_Help.html">Help</a><br /> <a href="../li_LDAP.html">LDAP</a><br /> <a href="../li_lib.html">lib</a><br /> <a href="../li_lists.html">lists</a><br /> <a href="../li_main.html">main</a><br /> <a href="../li_modules.html">modules</a><br /> <a href="../li_PDF.html">PDF</a><br /> <a href="../li_profiles.html">profiles</a><br /> <a href="../li_selfService.html">selfService</a><br /> <a href="../li_tests.html">tests</a><br /> <a href="../li_tools.html">tools</a><br /> <a href="../li_types.html">types</a><br /> <br /><br /> <b>Files:</b><br /> <div class="package"> <a href="../tools/_lib---export.inc.html"> export.inc </a><br> <a href="../tools/_templates---tests---index.php.html"> index.php </a><br> <a href="../tools/_templates---tests---lamdaemonTest.php.html"> lamdaemonTest.php </a><br> <a href="../tools/_templates---massBuildAccounts.php.html"> massBuildAccounts.php </a><br> <a href="../tools/_templates---masscreate.php.html"> masscreate.php </a><br> <a href="../tools/_templates---massDoUpload.php.html"> massDoUpload.php </a><br> <a href="../tools/_templates---ou_edit.php.html"> ou_edit.php </a><br> <a href="../tools/_templates---schema---schema.php.html"> schema.php </a><br> <a href="../tools/_templates---tests---schemaTest.php.html"> schemaTest.php </a><br> <a href="../tools/_templates---tools.php.html"> tools.php </a><br> </div><br /> <b>Classes:</b><br /> <div class="package"> <a href="../tools/LAMTool.html">LAMTool</a><br /> <a href="../tools/LdapExportInfo.html">LdapExportInfo</a><br /> <a href="../tools/MyCustomExporter.html">MyCustomExporter</a><br /> <a href="../tools/PlaAbstractExporter.html">PlaAbstractExporter</a><br /> <a href="../tools/PlaCSVExporter.html">PlaCSVExporter</a><br /> <a href="../tools/PlaDsmlExporter.html">PlaDsmlExporter</a><br /> <a href="../tools/PlaExporter.html">PlaExporter</a><br /> <a href="../tools/PlaLdapExporter.html">PlaLdapExporter</a><br /> <a href="../tools/PlaLdifExporter.html">PlaLdifExporter</a><br /> <a href="../tools/PlaVcardExporter.html">PlaVcardExporter</a><br /> </div> </td> <td> <table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top"> <h1>Procedural File: schemaTest.php</h1> Source Location: /templates/tests/schemaTest.php<br /><br /> <br> <br> <h2>Page Details:</h2> Tests the lamdaemon script.<br /><br /><br /><br /> <h4>Tags:</h4> <div class="tags"> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td><b>author:</b> </td><td>Roland Gruber</td> </tr> </table> </div> <br /><br /> <h4>Includes:</h4> <div class="tags"> include_once("../../lib/security.inc") [line 32]<br /> security functions<br /><br />include_once("../../lib/config.inc") [line 34]<br /> access to configuration options<br /><br />include_once("../../lib/schema.inc") [line 38]<br /> LDAP schema<br /><br />include_once("../../lib/modules.inc") [line 36]<br /> account modules<br /><br /></div> <br /><br /> <br /><br /> <br /> <hr /> <a name="functioncheckSchemaForModule"></a> <h3>checkSchemaForModule <span class="smalllinenumber">[line 109]</span></h3> <div class="function"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <code>String checkSchemaForModule( String $name, String $type)</code> </td></tr></table> </td></tr></table><br /> Checks if the object classes and attributes for this module are available.<br /><br /><br /><br /> <h4>Tags:</h4> <div class="tags"> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td><b>return:</b> </td><td>error message or null</td> </tr> </table> </div> <br /><br /> <h4>Parameters</h4> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td class="type">String </td> <td><b>$name</b> </td> <td>module name</td> </tr> <tr> <td class="type">String </td> <td><b>$type</b> </td> <td>type (user, group, ...)</td> </tr> </table> <div class="top">[ <a href="#top">Top</a> ]</div><br /><br /> </div> <hr /> <a name="functiongetRecursiveAttributesFromObjectClass"></a> <h3>getRecursiveAttributesFromObjectClass <span class="smalllinenumber">[line 145]</span></h3> <div class="function"> <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> <code>array getRecursiveAttributesFromObjectClass( <a href="../lib/ObjectClass.html">ObjectClass</a> $oClass)</code> </td></tr></table> </td></tr></table><br /> Returns the names of all attributes which are managed by the given object class and its parents.<br /><br /><br /><br /> <h4>Tags:</h4> <div class="tags"> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td><b>return:</b> </td><td>list of attribute names</td> </tr> </table> </div> <br /><br /> <h4>Parameters</h4> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td class="type"><a href="../lib/ObjectClass.html">ObjectClass</a> </td> <td><b>$oClass</b> </td> <td>object class</td> </tr> </table> <div class="top">[ <a href="#top">Top</a> ]</div><br /><br /> </div> <div class="credit"> <hr /> Documentation generated on Thu, 07 Feb 2008 20:26:55 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.0</a> </div> </td></tr></table> </td> </tr> </table> </body> </html>