Commit 976128ba8c4f93568770d2cd3d82b2e45c739f60

Authored by nbm
1 parent f0b490f8

Find a fieldset by its namespace name.


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3914 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 6 additions and 0 deletions
lib/metadata/fieldset.inc.php
... ... @@ -125,6 +125,12 @@ class KTFieldset extends KTEntity {
125 125 $iFieldsetId = $oField->getParentFieldsetId();
126 126 return KTFieldset::get($iFieldsetId);
127 127 }
  128 +
  129 + function &getByNamespace($sNamespace) {
  130 + return KTEntityUtil::getByDict('KTFieldset', array(
  131 + 'namespace' => $sNamespace,
  132 + ));
  133 + }
128 134 }
129 135  
130 136 ?>
... ...