@@ 151-160 (lines=10) @@ | ||
148 | * @param string $class |
|
149 | * @return $this |
|
150 | */ |
|
151 | public function addClass($class) |
|
152 | { |
|
153 | if (! isset($this->attributes['className'])) { |
|
154 | $this->attributes['className'] = $class; |
|
155 | } else { |
|
156 | $this->attributes['className'] .= " $class"; |
|
157 | } |
|
158 | ||
159 | return $this; |
|
160 | } |
|
161 | ||
162 | /** |
|
163 | * Set text option value. |
@@ 225-234 (lines=10) @@ | ||
222 | * @param string $class |
|
223 | * @return $this |
|
224 | */ |
|
225 | public function addClass($class) |
|
226 | { |
|
227 | if (! isset($this->attributes['className'])) { |
|
228 | $this->attributes['className'] = $class; |
|
229 | } else { |
|
230 | $this->attributes['className'] .= " $class"; |
|
231 | } |
|
232 | ||
233 | return $this; |
|
234 | } |
|
235 | ||
236 | /** |
|
237 | * Set column exportable flag. |
@@ 63-71 (lines=9) @@ | ||
60 | * @param string $class |
|
61 | * @return $this |
|
62 | */ |
|
63 | public function addClass($class) |
|
64 | { |
|
65 | if (! isset($this->attributes['className'])) { |
|
66 | $this->attributes['className'] = $class; |
|
67 | } else { |
|
68 | $this->attributes['className'] .= " $class"; |
|
69 | } |
|
70 | return $this; |
|
71 | } |
|
72 | ||
73 | ||
74 | /** |