From 80f8e2ad31b71d24b5d852a75a9acdf05a60a369 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Mon, 15 Oct 2007 17:20:51 +0000 Subject: [PATCH] use public/private instead of var --- lam/lib/cache.inc | 6 +++--- lam/lib/selfService.inc | 20 ++++++++++---------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/lam/lib/cache.inc b/lam/lib/cache.inc index 1ed72838..813d805d 100644 --- a/lam/lib/cache.inc +++ b/lam/lib/cache.inc @@ -42,11 +42,11 @@ include_once('ldap.inc'); class cache { /** This variable contains the cache */ - var $ldapcache; + private $ldapcache; /** This variable contains a list and their scope of attributes which should be cached */ - var $attributes; + private $attributes; /** This is the last timestamp on which the LDAP cache has been refreshed */ - var $time; + private $time; /** * Constructor. diff --git a/lam/lib/selfService.inc b/lam/lib/selfService.inc index 49f0afca..8e2007d4 100644 --- a/lam/lib/selfService.inc +++ b/lam/lib/selfService.inc @@ -255,37 +255,37 @@ function checkSelfServiceSettings($scope, $options) { class selfServiceProfile { /** server address */ - var $serverURL; + public $serverURL; /** LDAP suffix */ - var $LDAPSuffix; + public $LDAPSuffix; /** LDAP user DN*/ - var $LDAPUser; + public $LDAPUser; /** LDAP password */ - var $LDAPPassword; + public $LDAPPassword; /** LDAP search attribute */ - var $searchAttribute; + public $searchAttribute; /** describing text for user login */ - var $loginCaption; + public $loginCaption; /** describing text for search attribute */ - var $loginAttributeText; + public $loginAttributeText; /** describing text for self service main page */ - var $mainPageText; + public $mainPageText; /** input fields * Format: array( => array(array('name' => , 'fields' => array(, )))) * */ - var $inputFields; + public $inputFields; /** configuration settings of modules */ - var $moduleSettings; + public $moduleSettings; /** * Constructor