00001 <?php
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 class GauffrSlave extends GauffrPersistentObject
00020 {
00021 protected $ID;
00022 public $Identifier;
00023 public $Name;
00024 public $Location;
00025
00026
00027
00028
00029
00030
00031
00032 public function getState()
00033 {
00034 return array(
00035 'ID' => $this->ID,
00036 'Identifier' => $this->Identifier,
00037 'Name' => $this->Name,
00038 'Location' => $this->Location
00039 );
00040 }
00041
00042
00043
00044
00045
00046
00047
00048
00049 public function getID()
00050 {
00051 return $this->ID;
00052 }
00053
00054
00055
00056
00057
00058
00059
00060
00061 public static function fetchSlaveByIdentifier($identifier)
00062 {
00063 return self::fetchPersistantObjectByAttribute( 'GauffrSlave', 'Identifier', $identifier );
00064 }
00065
00066 }
00067
00068 ?>