Commit fee9e26d039769fa187de9a0e12fafc195f537a6
1 parent
a9cb1c3c
Add an _table() (semi-static) method to get the table name.
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3105 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
5 additions
and
0 deletions
lib/foldermanagement/FolderDocTypeLink.inc
| @@ -38,6 +38,11 @@ class FolderDocTypeLink extends KTEntity { | @@ -38,6 +38,11 @@ class FolderDocTypeLink extends KTEntity { | ||
| 38 | $this->iFolderID = $iNewFolderID; | 38 | $this->iFolderID = $iNewFolderID; |
| 39 | $this->iDocumentTypeID = $iNewDocumentTypeID; | 39 | $this->iDocumentTypeID = $iNewDocumentTypeID; |
| 40 | } | 40 | } |
| 41 | + | ||
| 42 | + function _table() { | ||
| 43 | + global $default; | ||
| 44 | + return $default->folder_doctypes_table; | ||
| 45 | + } | ||
| 41 | 46 | ||
| 42 | /** | 47 | /** |
| 43 | * Create the current folder in the database | 48 | * Create the current folder in the database |