CWIS Developer Documentation

- Home
- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

QualifierFactory.php
Go to the documentation of this file.
1 <?PHP
2
3 #
4 # FILE: QualifierFactory.php
5 #
6 # Copyright 2003-2010 Edward Almasy and Internet Scout
7 # http://scout.wisc.edu
8 #
9
10 class QualifierFactory extends ItemFactory {
11
12 # ---- PUBLIC INTERFACE --------------------------------------------------
13
14 # object constructor
15 function QualifierFactory()
16 {
17 $this->ItemFactory("Qualifier", "Qualifiers", "QualifierId", "QualifierName");
18 }
19
20 # methods for backward compatibility
21 function QualifierList() { return $this->GetItemNames(); }
22 function QualifierCount() { return $this->GetItemCount(); }
23 function GetQualifierByName($QualifierName)
24 { return $this->GetItemByName($QualifierName); }
25 function QualifierNameIsInUse($Name) { return $this->NameIsInUse($Name, TRUE); }
26 }
27
28
29 ?>