| @@ 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 | { |
|
| @@ 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 | ||
| @@ 218-227 (lines=10) @@ | ||
| 215 | /** |
|
| 216 | * @return bool |
|
| 217 | */ |
|
| 218 | public function removeAttrib($key) |
|
| 219 | { |
|
| 220 | if (isset($this->_attribs[$key])) { |
|
| 221 | unset($this->_attribs[$key]); |
|
| 222 | ||
| 223 | return true; |
|
| 224 | } |
|
| 225 | ||
| 226 | return false; |
|
| 227 | } |
|
| 228 | } |
|
| 229 | ||