proccess -> process

This commit is contained in:
Roland Gruber 2005-03-10 18:35:04 +00:00
parent 957f33c526
commit 2c60d5dc72
15 changed files with 26 additions and 26 deletions

View File

@ -220,7 +220,7 @@ checks<br>
&nbsp;&nbsp;&nbsp; * @param array $post HTTP-POST values<br>
&nbsp;&nbsp;&nbsp; */<br>
&nbsp;&nbsp;&nbsp; <span style="font-weight: bold;">function</span> <span
style="color: rgb(255, 0, 0);">proccess_attributes</span>($post) {<br>
style="color: rgb(255, 0, 0);">process_attributes</span>($post) {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; $this-&gt;triggered_messages =
array();<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;

View File

@ -764,7 +764,7 @@ save_attributes().<br>
is needed t interact with the user.<br>
<br>
<br>
<h3>2.2.13. proccess_attributes<br>
<h3>2.2.13. process_attributes<br>
</h3>
<br>
<table border="0"
@ -773,13 +773,13 @@ is needed t interact with the user.<br>
<tr>
<td
style="vertical-align: top; text-align: center;"><span
style="font-weight: bold;">function proccess_attributes($post)</span><br>
style="font-weight: bold;">function process_attributes($post)</span><br>
</td>
</tr>
</tbody>
</table>
<br>
This function proccesses user inputs. It checks user inputs. It also
This function processes user inputs. It checks user inputs. It also
saves changes in attributes.<br>
<span style="font-weight: bold;">$post</span> is the $_POST
array.&nbsp; Some attributes ar not part of a profile, e.g. uidNumber.
@ -802,7 +802,7 @@ array();<br>
<br>
<br>
<br>
<h3>2.2.14. proccess_*<br>
<h3>2.2.14. process_*<br>
</h3>
<br>
<table border="0"
@ -811,15 +811,15 @@ array();<br>
<tr>
<td
style="vertical-align: top; text-align: center;"><span
style="font-weight: bold;">function proccess_*($post)</span><br>
style="font-weight: bold;">function process_*($post)</span><br>
</td>
</tr>
</tbody>
</table>
<br>
This function has the exact behavoir like proccess_attributes function.
This function has the exact behavoir like process_attributes function.
* is the name of the subpage which<br>
should be proccessed.<br>
should be processed.<br>
<span style="font-weight: bold;">$post</span> is the $_POST array. It
is needed t interact with the user.<br>
<br>

View File

@ -640,7 +640,7 @@ class accountContainer {
}
}
}
else $result = call_user_func(array(&$this->module[$this->order[$this->current_page]], 'proccess_'.$this->subpage), $post);
else $result = call_user_func(array(&$this->module[$this->order[$this->current_page]], 'process_'.$this->subpage), $post);
}
if (is_string($result)) $this->subpage = $result;
if (is_int($result)) {
@ -1257,7 +1257,7 @@ class accountContainer {
// TODO remove this function?
function proccess_profile(&$post) {
function process_profile(&$post) {
$return = array();
$module = array_keys ($this->module);
foreach ($module as $singlemodule) {

View File

@ -143,7 +143,7 @@ class account extends baseModule {
/* Write variables into object and do some regexp checks
*/
function proccess_attributes(&$post) {
function process_attributes(&$post) {
// Load attributes
$this->attributes['description'][0] = $post['description'];
return 0;

View File

@ -163,7 +163,7 @@ class ieee802Device extends baseModule {
*
* @param array $post HTTP-POST values
*/
function proccess_attributes(&$post) {
function process_attributes(&$post) {
$this->triggered_messages = array();
$this->attributes['macAddress'] = array();
// check old MACs

View File

@ -227,7 +227,7 @@ class inetLocalMailRecipient extends baseModule {
*
* @param array $post HTTP-POST values
*/
function proccess_attributes(&$post) {
function process_attributes(&$post) {
$this->triggered_messages = array();
$this->attributes['mailRoutingAddress'] = array();
$this->attributes['mailLocalAddress'] = array();

View File

@ -350,7 +350,7 @@ class inetOrgPerson extends baseModule {
return 0;
}
function proccess_attributes(&$post) {
function process_attributes(&$post) {
// Load attributes
$this->attributes['description'][0] = $post['description'];
$this->attributes['sn'][0] = $post['sn'];

View File

@ -192,7 +192,7 @@ class nisMailAlias extends baseModule {
*
* @param array $post HTTP-POST values
*/
function proccess_attributes(&$post) {
function process_attributes(&$post) {
$this->triggered_messages = array();
$this->attributes['cn'] = array();
$this->attributes['rfc822MailMember'] = array();

View File

@ -585,7 +585,7 @@ class posixAccount extends baseModule {
/* Write variables into object and do some regexp checks
*/
function proccess_attributes(&$post) {
function process_attributes(&$post) {
$this->attributes['homeDirectory'][0] = $post['homeDirectory'];
$this->attributes['loginShell'][0] = $post['loginShell'];
if (isset($post['gecos'])) $this->attributes['gecos'][0] = $post['gecos'];
@ -787,7 +787,7 @@ class posixAccount extends baseModule {
/* Write variables into object and do some regexp checks
*/
function proccess_group(&$post) {
function process_group(&$post) {
do { // X-Or, only one if() can be true
if (isset($post['addgroups']) && isset($post['addgroups_button'])) { // Add groups to list
// Add new group

View File

@ -441,7 +441,7 @@ class posixGroup extends baseModule {
/* Write variables into object and do some regexp checks
*/
function proccess_attributes(&$post) {
function process_attributes(&$post) {
$this->attributes['description'][0] = $post['description'];
if (($post['userPassword_lock'] && $post['userPassword_invalid']) || ($post['userPassword_nopassword'] && $post['userPassword_invalid'])) {
@ -607,7 +607,7 @@ class posixGroup extends baseModule {
/* Write variables into object and do some regexp checks
*/
function proccess_user(&$post) {
function process_user(&$post) {
do { // X-Or, only one if() can be true
if (isset($post['addusers']) && isset($post['addusers_button'])) { // Add groups to list
// Add new user

View File

@ -248,7 +248,7 @@ class quota extends baseModule {
/* Write variables into object and do some regexp checks
*/
function proccess_attributes(&$post) {
function process_attributes(&$post) {
// Write all general values into $account_new
$i=0;
// loop for every mointpoint with quotas

View File

@ -529,7 +529,7 @@ class sambaAccount extends baseModule {
/* Write variables into object and do some regexp checks
*/
function proccess_attributes(&$post) {
function process_attributes(&$post) {
$this->attributes['domain'][0] = $post['domain'];
// Start character
$flag = "[";
@ -662,7 +662,7 @@ class sambaAccount extends baseModule {
/* Write variables into object and do some regexp checks
*/
function proccess_userWorkstations(&$post) {
function process_userWorkstations(&$post) {
// Load attributes
if ($_SESSION[$this->base]->type=='user') {
do { // X-Or, only one if() can be true

View File

@ -392,7 +392,7 @@ class sambaGroupMapping extends baseModule {
/* Write variables into object and do some regexp checks
*/
function proccess_attributes(&$post) {
function process_attributes(&$post) {
// Save attributes
$this->attributes['displayName'][0] = $post['displayName'];
$this->attributes['sambaGroupType'][0] = $this->sambaGroupTypes[$post['sambaGroupType']];

View File

@ -498,7 +498,7 @@ class sambaSamAccount extends baseModule {
/* Write variables into object and do some regexp checks
*/
function proccess_attributes(&$post) {
function process_attributes(&$post) {
// Save attributes
$this->attributes['sambaDomainName'][0] = $post['sambaDomainName'];
// Get Domain SID from name
@ -639,7 +639,7 @@ class sambaSamAccount extends baseModule {
/* Write variables into object and do some regexp checks
*/
function proccess_sambaUserWorkstations(&$post) {
function process_sambaUserWorkstations(&$post) {
// Load attributes
if ($_SESSION[$this->base]->type=='user') {
do { // X-Or, only one if() can be true

View File

@ -268,7 +268,7 @@ class shadowAccount extends baseModule {
/* Write variables into object and do some regexp checks
*/
function proccess_attributes(&$post) {
function process_attributes(&$post) {
// Load attributes
$this->attributes['shadowMin'][0] = $post['shadowMin'];
$this->attributes['shadowMax'][0] = $post['shadowMax'];