| @@ 182-191 (lines=10) @@ | ||
| 179 | /** |
|
| 180 | * @return bool |
|
| 181 | */ |
|
| 182 | public function removeAttrib($key) |
|
| 183 | { |
|
| 184 | if (isset($this->_attribs[$key])) { |
|
| 185 | unset($this->_attribs[$key]); |
|
| 186 | ||
| 187 | return true; |
|
| 188 | } |
|
| 189 | ||
| 190 | return false; |
|
| 191 | } |
|
| 192 | ||
| 193 | public function render() |
|
| 194 | { |
|
| @@ 210-219 (lines=10) @@ | ||
| 207 | /** |
|
| 208 | * @return bool |
|
| 209 | */ |
|
| 210 | public function removeAttrib($key) |
|
| 211 | { |
|
| 212 | if (isset($this->_attribs[$key])) { |
|
| 213 | unset($this->_attribs[$key]); |
|
| 214 | ||
| 215 | return true; |
|
| 216 | } |
|
| 217 | ||
| 218 | return false; |
|
| 219 | } |
|
| 220 | } |
|
| 221 | ||
| @@ 87-96 (lines=10) @@ | ||
| 84 | * @param $key |
|
| 85 | * @return bool |
|
| 86 | */ |
|
| 87 | public function removeAttrib($key) |
|
| 88 | { |
|
| 89 | if (isset($this->_attribs[$key])) { |
|
| 90 | unset($this->_attribs[$key]); |
|
| 91 | ||
| 92 | return true; |
|
| 93 | } |
|
| 94 | ||
| 95 | return false; |
|
| 96 | } |
|
| 97 | } |
|
| 98 | ||