Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

TranslationWord.php

Go to the documentation of this file.
00001 <?
00002 
00003 /***************************************************************************
00004  *   Copyright (C) 2005 by Ferenc Veres   *
00005  *   lion@hostname.hu   *
00006  *                                                                         *
00007  *   This program is free software; you can redistribute it and/or modify  *
00008  *   it under the terms of the GNU General Public License as published by  *
00009  *   the Free Software Foundation; either version 2 of the License, or     *
00010  *   (at your option) any later version.                                   *
00011  *                                                                         *
00012  *   This program is distributed in the hope that it will be useful,       *
00013  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00014  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
00015  *   GNU General Public License for more details.                          *
00016  *                                                                         *
00017  *   You should have received a copy of the GNU General Public License     *
00018  *   along with this program; if not, write to the                         *
00019  *   Free Software Foundation, Inc.,                                       *
00020  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
00021  ***************************************************************************/
00029 class TranslationWord
00030 {
00031         private $ID;            
00032         private $Word;          
00033         private $Count;         
00039         function __construct()
00040         {
00041                 $this->ID = 0;
00042                 $this->Word = "";
00043                 $this->Count = 0;
00044         }
00045 
00049         function SetID($id)
00050         {
00051                 $this->ID = $id;
00052         }
00053         
00057         function GetID()
00058         {
00059                 return $this->ID;
00060         }
00061 
00065         function SetWord($word)
00066         {
00067                 $this->Word = $word;
00068         }
00069         
00073         function GetWord()
00074         {
00075                 return $this->Word;
00076         }
00077 
00081         function SetCount($count)
00082         {
00083                 $this->Count = $count;
00084         }
00085         
00089         function GetCount()
00090         {
00091                 return $this->Count;
00092         }
00093 }
00094 ?>

Generated on Sat Apr 22 16:49:54 2006 for XarayaTranslationMemory by  doxygen 1.4.4