| @@ 134-142 (lines=9) @@ | ||
| 131 | * |
|
| 132 | * @return $this |
|
| 133 | */ |
|
| 134 | public function jquery() |
|
| 135 | { |
|
| 136 | $this->Html->script('libs/jquery.min.js', $this->_setOptions([ |
|
| 137 | 'weight' => self::WEIGHT_CORE, |
|
| 138 | 'alias' => __FUNCTION__, |
|
| 139 | ])); |
|
| 140 | ||
| 141 | return $this; |
|
| 142 | } |
|
| 143 | ||
| 144 | /** |
|
| 145 | * Include jquery factory. |
|
| @@ 215-225 (lines=11) @@ | ||
| 212 | * |
|
| 213 | * @return $this |
|
| 214 | */ |
|
| 215 | public function tableCheckAll() |
|
| 216 | { |
|
| 217 | $this->jquery(); |
|
| 218 | ||
| 219 | $this->Html->script(['libs/jquery-check-all.min.js'], $this->_setOptions([ |
|
| 220 | 'weight' => self::WEIGHT_LIB, |
|
| 221 | 'alias' => __FUNCTION__, |
|
| 222 | ])); |
|
| 223 | ||
| 224 | return $this; |
|
| 225 | } |
|
| 226 | ||
| 227 | /** |
|
| 228 | * Include toggle field js widget. |
|