Commit 6cae59f95a4e67ab66ec26390360b86ff30ff46f
1 parent
161e6be5
Add setId(), so that valid uses of setting the Id don't fiddle with
attributes directly. git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5255 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
4 additions
and
0 deletions
lib/ktentity.inc
| @@ -44,6 +44,10 @@ class KTEntity { | @@ -44,6 +44,10 @@ class KTEntity { | ||
| 44 | return $this->iId; | 44 | return $this->iId; |
| 45 | } | 45 | } |
| 46 | 46 | ||
| 47 | + function setId($mValue) { | ||
| 48 | + $this->iId = $mValue; | ||
| 49 | + } | ||
| 50 | + | ||
| 47 | function _cachedGroups() { | 51 | function _cachedGroups() { |
| 48 | return array('getlist'); | 52 | return array('getlist'); |
| 49 | } | 53 | } |