Translate::setKey()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
    /**
3
     * @copyright Copyright (c) 2011 - 2014 Oleksandr Torosh (http://wezoom.net)
4
     * @author Oleksandr Torosh <[email protected]>
5
     */
6
7
namespace Application\Mvc\Model;
8
9
class Translate extends \Phalcon\Mvc\Model
10
{
11
12
    public $id;
13
    public $foreign_id;
14
    public $lang;
15
    public $key;
16
    public $value;
17
18
    /**
19
     * @param mixed $id
20
     */
21
    public function setId($id)
22
    {
23
        $this->id = $id;
24
    }
25
26
    /**
27
     * @return mixed
28
     */
29
    public function getId()
30
    {
31
        return $this->id;
32
    }
33
34
    /**
35
     * @param mixed $foreign_id
36
     */
37
    public function setForeignId($foreign_id)
38
    {
39
        $this->foreign_id = $foreign_id;
40
    }
41
42
    /**
43
     * @return mixed
44
     */
45
    public function getForeignId()
46
    {
47
        return $this->foreign_id;
48
    }
49
50
    /**
51
     * @param mixed $key
52
     */
53
    public function setKey($key)
54
    {
55
        $this->key = $key;
56
    }
57
58
    /**
59
     * @return mixed
60
     */
61
    public function getKey()
62
    {
63
        return $this->key;
64
    }
65
66
    /**
67
     * @param mixed $lang
68
     */
69
    public function setLang($lang)
70
    {
71
        $this->lang = $lang;
72
    }
73
74
    /**
75
     * @return mixed
76
     */
77
    public function getLang()
78
    {
79
        return $this->lang;
80
    }
81
82
    /**
83
     * @param mixed $value
84
     */
85
    public function setValue($value)
86
    {
87
        $this->value = $value;
88
    }
89
90
    /**
91
     * @return mixed
92
     */
93
    public function getValue()
94
    {
95
        return $this->value;
96
    }
97
98
99
100
}