added is_base_module()

This commit is contained in:
Roland Gruber 2004-02-21 17:35:16 +00:00
parent e9d9e5f4bc
commit bb844b5c60
10 changed files with 42 additions and 6 deletions

View File

@ -67,6 +67,10 @@ class account {
return _('account'); return _('account');
} }
function is_base_module() {
return false;
}
/* This function returns a list with all required modules /* This function returns a list with all required modules
*/ */
function get_dependencies($scope) { function get_dependencies($scope) {

View File

@ -70,6 +70,10 @@ class inetOrgPerson {
return _('inetOrgPerson'); return _('inetOrgPerson');
} }
function is_base_module() {
return false;
}
/* This function returns a list with all required modules /* This function returns a list with all required modules
*/ */
function get_dependencies($scope) { function get_dependencies($scope) {

View File

@ -67,6 +67,10 @@ class main {
return _('main'); return _('main');
} }
function is_base_module() {
return false;
}
/* This function returns a list with all required modules /* This function returns a list with all required modules
*/ */
function get_dependencies($scope) { function get_dependencies($scope) {

View File

@ -129,8 +129,8 @@ class posixAccount {
} }
} }
function get_alias() { function get_alias($scope) {
return _('posixAccount'); return "posixAccount";
} }
function is_base_module() { function is_base_module() {

View File

@ -123,6 +123,10 @@ class posixGroup {
return _('posixGroup'); return _('posixGroup');
} }
function is_base_module() {
return true;
}
/* This function returns a list with all required modules /* This function returns a list with all required modules
*/ */
function get_dependencies($scope) { function get_dependencies($scope) {

View File

@ -71,6 +71,10 @@ class quota {
return _('quota'); return _('quota');
} }
function is_base_module() {
return false;
}
/* This function returns a list with all required modules /* This function returns a list with all required modules
*/ */
function get_dependencies($scope) { function get_dependencies($scope) {

View File

@ -126,6 +126,10 @@ class sambaAccount {
return _('sambaAccount'); return _('sambaAccount');
} }
function is_base_module() {
return false;
}
/* This function returns a list with all required modules /* This function returns a list with all required modules
*/ */
function get_dependencies($scope) { function get_dependencies($scope) {

View File

@ -97,6 +97,10 @@ class sambaGroupMapping {
return _('sambaGroupMapping'); return _('sambaGroupMapping');
} }
function is_base_module() {
return false;
}
/* This function returns a list with all required modules /* This function returns a list with all required modules
*/ */
function get_dependencies($scope) { function get_dependencies($scope) {

View File

@ -126,7 +126,11 @@ class sambaSamAccount {
return _('sambaSamAccount'); return _('sambaSamAccount');
} }
/* This function returns a list with all required modules function is_base_module() {
return false;
}
/* This function returns a list with all required modules
*/ */
function get_dependencies($scope) { function get_dependencies($scope) {
if ($scope=='host') return array('require' => array('posixAccount'), 'conflict' => array() ); if ($scope=='host') return array('require' => array('posixAccount'), 'conflict' => array() );

View File

@ -91,6 +91,10 @@ class shadowAccount {
return _('shadowAccount'); return _('shadowAccount');
} }
function is_base_module() {
return false;
}
/* This function returns a list with all required modules /* This function returns a list with all required modules
*/ */
function get_dependencies($scope) { function get_dependencies($scope) {