diff --git a/lam/docs/devel/index.htm b/lam/docs/devel/index.htm index a1213c05..7244fef0 100644 --- a/lam/docs/devel/index.htm +++ b/lam/docs/devel/index.htm @@ -3,6 +3,7 @@ +
/**+
* Server information+
*+
* @package tools+
*/+
class toolServerInformation implements LAMTool {+
+
/**+
* Returns the name of the tool.+
*+
* @return string name+
*/+
function getName() {+
return _("Server information");+
}+
+
/**+
* returns a description text for the tool.+
*+
* @return string description+
*/+
function getDescription() {+
return _("Information about the LDAP server.");+
}+
+
/**+
* Returns a link to the tool page (relative to templates/).+
*+
* @return string link+
*/+
function getLink() {+
return "serverInfo.php";+
}+
+
/**+
* Returns if the tool requires write access to LDAP.+
*+
* @return boolean true if write access is needed+
*/+
function getRequiresWriteAccess() {+
return false;+
}+
+
/**+
* Returns if the tool requires password change rights.+
*+
* @return boolean true if password change rights are needed+
*/+
function getRequiresPasswordChangeRights() {+
return true;+
}+
+
/**+
* Returns the link to the tool image (relative to graphics/)+
*+
* @return string image URL+
*/+
function getImageLink() {+
return 'tree_info.png';+
}+
+
/**+
* Returns the prefered position of this tool on the tools page.+
* The position may be between 0 and 1000. 0 is the top position.+
*+
* @return int prefered position+
*/+
function getPosition() {+
return 600;+
}+
+
/**+
* Returns a list of sub tools or an empty array.+
*+
* @return array list of subtools (LAMTool)+
*/+
function getSubTools() {+
return array();+
}+
+
/**+
* Returns if the tool is visible in the menu.+
*+
* @return boolean visible+
*/+
function isVisible() {+
return true;+
}+
+
/**+
* Returns if a tool may be hidden by configuration in the LAM server profile.+
*+
* @return boolean hideable+
*/+
function isHideable() {+
return true;+
}+
+
}+The functions are quite self-descriptive.