manageCnAttribute = false; $this->manageDescriptionAttribute = false; // make optional $this->autoAddObjectClasses = false; } /** * Returns meta data that is interpreted by parent class * * @return array array with meta data * * @see baseModule::get_metaData() */ function get_metaData() { $return = parent::get_metaData(); // module dependencies $return['dependencies'] = array('depends' => array(), 'conflicts' => array('posixGroup')); // this is no base module (in contrast to parent class) $return["is_base"] = false; // no RDN attribute setting $return["RDN"] = array(); // managed attributes $return['attributes'] = array('gidNumber', 'userPasswordUnix', 'memberUid'); return $return; } /** * Controls if the module button the account page is visible and activated. * * @return string status ("enabled", "disabled", "hidden") */ function getButtonStatus() { return "enabled"; } /** * This functions is used to check if all settings for this module have been made. * * @return boolean true, if settings are complete */ function module_complete() { return true; } } ?>