Commit 94f3f3277fe778e63418d62cf87c58feae21e75c
1 parent
42dcb5be
Fix typos, and declare object-level variables.
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4174 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
7 additions
and
9 deletions
lib/authentication/authenticationsource.inc.php
| @@ -3,14 +3,12 @@ | @@ -3,14 +3,12 @@ | ||
| 3 | require_once(KT_LIB_DIR . "/ktentity.inc"); | 3 | require_once(KT_LIB_DIR . "/ktentity.inc"); |
| 4 | 4 | ||
| 5 | class KTAuthenticationSource extends KTEntity { | 5 | class KTAuthenticationSource extends KTEntity { |
| 6 | - /** primary key */ | ||
| 7 | - var $iId = -1; | ||
| 8 | - /** help file name */ | ||
| 9 | var $sName; | 6 | var $sName; |
| 10 | - /** help file name */ | ||
| 11 | - var $sHumanName; | ||
| 12 | - /** whether it's built into KT */ | ||
| 13 | - var $bBuiltIn = false; | 7 | + var $sNamespace; |
| 8 | + var $sAuthenticationProvider; | ||
| 9 | + var $sConfig = ""; | ||
| 10 | + var $bIsUserSource = false; | ||
| 11 | + var $bIsGroupSource = false; | ||
| 14 | 12 | ||
| 15 | var $_aFieldToSelect = array( | 13 | var $_aFieldToSelect = array( |
| 16 | "iId" => "id", | 14 | "iId" => "id", |
| @@ -34,8 +32,8 @@ class KTAuthenticationSource extends KTEntity { | @@ -34,8 +32,8 @@ class KTAuthenticationSource extends KTEntity { | ||
| 34 | function setNamespace($sNamespace) { $this->sNamespace = $sNamespace; } | 32 | function setNamespace($sNamespace) { $this->sNamespace = $sNamespace; } |
| 35 | function setAuthenticationProvider($sAuthenticationProvider) { $this->sAuthenticationProvider = $sAuthenticationProvider; } | 33 | function setAuthenticationProvider($sAuthenticationProvider) { $this->sAuthenticationProvider = $sAuthenticationProvider; } |
| 36 | function setConfig($sConfig) { $this->sConfig = $sConfig; } | 34 | function setConfig($sConfig) { $this->sConfig = $sConfig; } |
| 37 | - function getIsUserSource($bIsUserSource) { $this->bIsUserSource = $bIsUserSource; } | ||
| 38 | - function getIsGroupSource($bIsGroupSource) { $this->bIsGroupSource = $bIsGroupSource; } | 35 | + function setIsUserSource($bIsUserSource) { $this->bIsUserSource = $bIsUserSource; } |
| 36 | + function setIsGroupSource($bIsGroupSource) { $this->bIsGroupSource = $bIsGroupSource; } | ||
| 39 | 37 | ||
| 40 | function _table () { | 38 | function _table () { |
| 41 | global $default; | 39 | global $default; |