Skip to content

Commit 6d140bc

Browse files
enumagdg
authored andcommitted
RadioList: cleanup
1 parent 796858f commit 6d140bc

File tree

1 file changed

+30
-40
lines changed

1 file changed

+30
-40
lines changed

src/Forms/Controls/RadioList.php

Lines changed: 30 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -47,46 +47,6 @@ public function __construct($label = NULL, array $items = NULL)
4747
}
4848

4949

50-
/**
51-
* Returns selected radio value.
52-
* @return mixed
53-
*/
54-
public function getValue()
55-
{
56-
return parent::getValue();
57-
}
58-
59-
60-
/**
61-
* Returns separator HTML element template.
62-
* @return Html
63-
*/
64-
public function getSeparatorPrototype()
65-
{
66-
return $this->separator;
67-
}
68-
69-
70-
/**
71-
* Returns container HTML element template.
72-
* @return Html
73-
*/
74-
public function getContainerPrototype()
75-
{
76-
return $this->container;
77-
}
78-
79-
80-
/**
81-
* Returns item label HTML element template.
82-
* @return Html
83-
*/
84-
public function getItemLabelPrototype()
85-
{
86-
return $this->itemLabel;
87-
}
88-
89-
9050
/**
9151
* Generates control's HTML element.
9252
* @return Html
@@ -154,4 +114,34 @@ public function getLabelPart($key = NULL)
154114
: $this->getLabel();
155115
}
156116

117+
118+
/**
119+
* Returns separator HTML element template.
120+
* @return Html
121+
*/
122+
public function getSeparatorPrototype()
123+
{
124+
return $this->separator;
125+
}
126+
127+
128+
/**
129+
* Returns container HTML element template.
130+
* @return Html
131+
*/
132+
public function getContainerPrototype()
133+
{
134+
return $this->container;
135+
}
136+
137+
138+
/**
139+
* Returns item label HTML element template.
140+
* @return Html
141+
*/
142+
public function getItemLabelPrototype()
143+
{
144+
return $this->itemLabel;
145+
}
146+
157147
}

0 commit comments

Comments
 (0)