]> git.mjollnir.org Git - moodle.git/commitdiff
Access modifiers.
authorethem <ethem>
Wed, 7 Nov 2007 10:54:28 +0000 (10:54 +0000)
committerethem <ethem>
Wed, 7 Nov 2007 10:54:28 +0000 (10:54 +0000)
enrol/authorize/enrol_form.php

index 2549d5aa03dd03c5645434c81ba677ad7516d33c..f2afa2f20425566c83baf91369568545d61bd459 100755 (executable)
@@ -216,7 +216,7 @@ class enrol_authorize_form extends moodleform
         return (empty($errors) ? true : $errors);
     }
 
-    function other_method_available($currentmethod)
+    private function other_method_available($currentmethod)
     {
         $course = $this->_customdata['course'];
 
@@ -240,7 +240,7 @@ class enrol_authorize_form extends moodleform
         }
     }
 
-    function validate_aba($aba)
+    private function validate_aba($aba)
     {
         if (ereg("^[0-9]{9}$", $aba)) {
             $n = 0;
@@ -254,7 +254,7 @@ class enrol_authorize_form extends moodleform
         return false;
     }
 
-    function validate_cc($Num, $Name = "n/a", $Exp = "")
+    private function validate_cc($Num, $Name = "n/a", $Exp = "")
     {
         // Check the expiration date first
         if (strlen($Exp))