class-wpml-pb-string.php
1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<?php
class WPML_PB_String {
/** @var string $value */
private $value;
/** @var string $name */
private $name;
/** @var string $title */
private $title;
/** @var string $editor_type */
private $editor_type;
/**
* String wrap tag.
*
* @var string $wrap_tag
*/
private $wrap_tag;
/**
* WPML_PB_String constructor.
*
* @param string $value String value.
* @param string $name String name.
* @param string $title String title.
* @param string $editor_type Editor type used.
* @param string $wrap_tag String wrap tag.
*/
public function __construct( $value, $name, $title, $editor_type, $wrap_tag = '' ) {
$this->value = $value;
$this->name = $name;
$this->title = $title;
$this->editor_type = $editor_type;
$this->wrap_tag = $wrap_tag;
}
/**
* @return string
*/
public function get_value() {
return $this->value;
}
/**
* @param string $value
*/
public function set_value( $value ) {
$this->value = $value;
}
/**
* @return string
*/
public function get_name() {
return $this->name;
}
/**
* @return string
*/
public function get_title() {
return $this->title;
}
/**
* @return string
*/
public function get_editor_type() {
return $this->editor_type;
}
/**
* Get string wrap tag.
*
* @return string
*/
public function get_wrap_tag() {
return $this->wrap_tag;
}
}