XarayaTranslationMemory
1.6
lib
TranslationWord.php
Go to the documentation of this file.
1
<?php
2
3
/***************************************************************************
4
* Copyright (C) 2005-2020 by Ferenc Veres *
5
* lion@netngine.hu *
6
* *
7
* This program is free software; you can redistribute it and/or modify *
8
* it under the terms of the GNU General Public License as published by *
9
* the Free Software Foundation; either version 3 of the License, or *
10
* (at your option) any later version. *
11
* *
12
* This program is distributed in the hope that it will be useful, *
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
15
* GNU General Public License for more details. *
16
* *
17
* You should have received a copy of the GNU General Public License *
18
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
19
***************************************************************************/
27
class
TranslationWord
28
{
29
private
$ID
;
30
private
$Word
;
31
private
$Count
;
37
function
__construct
()
38
{
39
$this->ID = 0;
40
$this->Word =
""
;
41
$this->Count = 0;
42
}
43
47
function
SetID
($id)
48
{
49
$this->ID = $id;
50
}
51
55
function
GetID
()
56
{
57
return
$this->ID
;
58
}
59
63
function
SetWord
($word)
64
{
65
$this->Word = $word;
66
}
67
71
function
GetWord
()
72
{
73
return
$this->Word
;
74
}
75
79
function
SetCount
($count)
80
{
81
$this->Count = $count;
82
}
83
87
function
GetCount
()
88
{
89
return
$this->Count
;
90
}
91
}
92
?>
TranslationWord
Definition:
TranslationWord.php:27
TranslationWord\__construct
__construct()
Definition:
TranslationWord.php:37
TranslationWord\SetWord
SetWord($word)
Definition:
TranslationWord.php:63
TranslationWord\SetID
SetID($id)
Definition:
TranslationWord.php:47
TranslationWord\$Count
$Count
Definition:
TranslationWord.php:31
TranslationWord\SetCount
SetCount($count)
Definition:
TranslationWord.php:79
TranslationWord\$ID
$ID
Definition:
TranslationWord.php:29
TranslationWord\GetWord
GetWord()
Definition:
TranslationWord.php:71
TranslationWord\GetCount
GetCount()
Definition:
TranslationWord.php:87
TranslationWord\GetID
GetID()
Definition:
TranslationWord.php:55
TranslationWord\$Word
$Word
Definition:
TranslationWord.php:30
Generated by
1.8.13