File tree 3 files changed +2
-27
lines changed
3 files changed +2
-27
lines changed Original file line number Diff line number Diff line change @@ -66,12 +66,4 @@ public function getControl()
66
66
)->addAttributes (parent ::getControl ()->attrs )->multiple (TRUE );
67
67
}
68
68
69
-
70
- /** @deprecated */
71
- function getSelectedItem ()
72
- {
73
- trigger_error (__METHOD__ . '(TRUE) is deprecated; use getSelectedItems() instead. ' , E_USER_DEPRECATED );
74
- return $ this ->getSelectedItems ();
75
- }
76
-
77
69
}
Original file line number Diff line number Diff line change @@ -93,13 +93,8 @@ public function getItemLabelPrototype()
93
93
* Generates control's HTML element.
94
94
* @return Nette\Utils\Html
95
95
*/
96
- public function getControl ($ key = NULL )
96
+ public function getControl ()
97
97
{
98
- if ($ key !== NULL ) {
99
- trigger_error (sprintf ('Partial %s() is deprecated; use getControlPart() instead. ' , __METHOD__ ), E_USER_DEPRECATED );
100
- return $ this ->getControlPart ($ key );
101
- }
102
-
103
98
$ input = parent ::getControl ();
104
99
$ items = $ this ->getItems ();
105
100
$ ids = array ();
@@ -130,12 +125,8 @@ public function getControl($key = NULL)
130
125
* @param string
131
126
* @return Nette\Utils\Html
132
127
*/
133
- public function getLabel ($ caption = NULL , $ key = NULL )
128
+ public function getLabel ($ caption = NULL )
134
129
{
135
- if ($ key !== NULL ) {
136
- trigger_error (sprintf ('Partial %s() is deprecated; use getLabelPart() instead. ' , __METHOD__ ), E_USER_DEPRECATED );
137
- return $ this ->getLabelPart ($ key );
138
- }
139
130
return parent ::getLabel ($ caption )->for (NULL );
140
131
}
141
132
Original file line number Diff line number Diff line change @@ -536,14 +536,6 @@ public function getOwnErrors()
536
536
}
537
537
538
538
539
- /** @deprecated */
540
- public function getAllErrors ()
541
- {
542
- trigger_error (__METHOD__ . '() is deprecated; use getErrors() instead. ' , E_USER_DEPRECATED );
543
- return $ this ->getErrors ();
544
- }
545
-
546
-
547
539
/********************* rendering ****************d*g**/
548
540
549
541
You can’t perform that action at this time.
0 commit comments