added check_profileOptions() dummy

This commit is contained in:
Roland Gruber 2004-03-14 17:33:05 +00:00
parent 87b3743d8b
commit e2c1420e25
9 changed files with 64 additions and 1 deletions

View File

@ -202,6 +202,13 @@ class account {
if ($scope == "host") return array();
}
// checks if the values of a new or modified profile are valid
// $scope: the account type (user, group, host, ...)
// $options: a hash array (name => value) containing the options
function check_profileOptions($scope, $options) {
return array();
}
}
?>

View File

@ -307,6 +307,13 @@ class inetOrgPerson {
if ($scope == "user") return array();
}
// checks if the values of a new or modified profile are valid
// $scope: the account type (user, group, host, ...)
// $options: a hash array (name => value) containing the options
function check_profileOptions($scope, $options) {
return array();
}
}
?>

View File

@ -678,6 +678,13 @@ class posixAccount {
return $return;
}
// checks if the values of a new or modified profile are valid
// $scope: the account type (user, group, host, ...)
// $options: a hash array (name => value) containing the options
function check_profileOptions($scope, $options) {
return array();
}
}
?>

View File

@ -593,6 +593,13 @@ class posixGroup {
return $return;
}
// checks if the values of a new or modified profile are valid
// $scope: the account type (user, group, host, ...)
// $options: a hash array (name => value) containing the options
function check_profileOptions($scope, $options) {
return array();
}
}
?>

View File

@ -298,6 +298,13 @@ class quota {
return $return;
}
// checks if the values of a new or modified profile are valid
// $scope: the account type (user, group, host, ...)
// $options: a hash array (name => value) containing the options
function check_profileOptions($scope, $options) {
return array();
}
}
?>

View File

@ -614,6 +614,13 @@ class sambaAccount {
return $return;
}
// checks if the values of a new or modified profile are valid
// $scope: the account type (user, group, host, ...)
// $options: a hash array (name => value) containing the options
function check_profileOptions($scope, $options) {
return array();
}
}
?>

View File

@ -314,6 +314,13 @@ class sambaGroupMapping {
return $return;
}
// checks if the values of a new or modified profile are valid
// $scope: the account type (user, group, host, ...)
// $options: a hash array (name => value) containing the options
function check_profileOptions($scope, $options) {
return array();
}
}
?>

View File

@ -625,11 +625,18 @@ class sambaSamAccount {
$return = array();
// TODO fill in correct groups
$return[] = array(0 => array('kind' => 'text', 'text' => _('Domain')),
1 => array('kind' => 'select', 'name' => 'sambaDomainName', 'options' => $sambaDomainNames),
1 => array('kind' => 'select', 'name' => 'sambaDomainName', 'options' => $sambaDomainNames, 'size' => 1, 'options' => array("d1", "d2"), 'options_selected' => array()),
2 => array('kind' => 'help', 'value' => 'sambaDomainName' ));
return $return;
}
// checks if the values of a new or modified profile are valid
// $scope: the account type (user, group, host, ...)
// $options: a hash array (name => value) containing the options
function check_profileOptions($scope, $options) {
return array();
}
}
?>

View File

@ -273,6 +273,13 @@ class shadowAccount {
return $return;
}
// checks if the values of a new or modified profile are valid
// $scope: the account type (user, group, host, ...)
// $options: a hash array (name => value) containing the options
function check_profileOptions($scope, $options) {
return array();
}
}
?>