File::setButtonOnly()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
/**
3
 * ExtForms - File.php
4
 *
5
 * Initial version by: MisterX
6
 * Initial version created on: 31.07.2015
7
 */
8
9
namespace Ext\Form\Field;
10
11
12
class File extends Text
13
{
14
15
	public function setButtonText($buttonText){
16
		return $this->setProperty('buttonText',$buttonText);
17
	}
18
19
	public function getButtonText(){
20
		return $this->getProperty('buttonText');
21
	}
22
23
	public function setButtonOnly($buttonOnly){
24
		return $this->setProperty('buttonOnly',$buttonOnly);
25
	}
26
27
	public function getButtonOnly(){
28
		return $this->getProperty('buttonOnly');
29
	}
30
31
32
}