Browse files

Access modifiers.

  • Loading branch information...
1 parent 3ab5476 commit d906abaccacb9a9296042d3490edf3a4cb76ca30 ethem committed Nov 7, 2007
Showing with 3 additions and 3 deletions.
  1. +3 −3 enrol/authorize/enrol_form.php
View
6 enrol/authorize/enrol_form.php
@@ -216,7 +216,7 @@ function validation($data)
return (empty($errors) ? true : $errors);
}
- function other_method_available($currentmethod)
+ private function other_method_available($currentmethod)
{
$course = $this->_customdata['course'];
@@ -240,7 +240,7 @@ function other_method_available($currentmethod)
}
}
- function validate_aba($aba)
+ private function validate_aba($aba)
{
if (ereg("^[0-9]{9}$", $aba)) {
$n = 0;
@@ -254,7 +254,7 @@ function validate_aba($aba)
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))

0 comments on commit d906aba

Please sign in to comment.