Search:

# CWIS Developers Documentation

- Main Page
- Classes
- Files

- File List
- File Members

# QualifierFactory.php

Go to the documentation of this file.

    00001 <?PHP
    00002
    00003 #
    00004 #   FILE:  QualifierFactory.php
    00005 #
    00006 #   Copyright 2003-2010 Edward Almasy and Internet Scout
    00007 #   http://scout.wisc.edu
    00008 #
    00009
    00010 class QualifierFactory extends ItemFactory {
    00011
    00012     # ---- PUBLIC INTERFACE --------------------------------------------------
    00013
    00014     # object constructor
    00015     function QualifierFactory()
    00016     {
    00017         $this->ItemFactory("Qualifier", "Qualifiers", "QualifierId", "QualifierName");
    00018     }
    00019
    00020     # methods for backward compatibility
    00021     function QualifierList() {  return $this->GetItemNames();  }
    00022     function QualifierCount() {  return $this->GetItemCount();  }
    00023     function GetQualifierByName($QualifierName)
    00024             {  return $this->GetItemByName($QualifierName);  }
    00025     function QualifierNameIsInUse($Name) {  return $this->NameIsInUse($Name, TRUE);  }
    00026 }
    00027
    00028
    00029 ?>