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