| 1 | <?php |
||
| 5 | trait Select |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * Set language select option value. |
||
| 9 | * |
||
| 10 | * @param array $value |
||
| 11 | * @return $this |
||
| 12 | * @see https://datatables.net/reference/option/language.select |
||
| 13 | */ |
||
| 14 | public function languageSelect($value) |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Set language select cells option value. |
||
| 23 | * |
||
| 24 | * @param string|array $value |
||
| 25 | * @return $this |
||
| 26 | * @see https://datatables.net/reference/option/language.select.cells |
||
| 27 | */ |
||
| 28 | public function languageSelectCells($value) |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Set language select columns option value. |
||
| 37 | * |
||
| 38 | * @param string|array $value |
||
| 39 | * @return $this |
||
| 40 | * @see https://datatables.net/reference/option/language.select.columns |
||
| 41 | */ |
||
| 42 | public function languageSelectColumns($value) |
||
| 48 | |||
| 49 | /** |
||
| 50 | * Set language select rows option value. |
||
| 51 | * |
||
| 52 | * @param string|array $value |
||
| 53 | * @return $this |
||
| 54 | * @see https://datatables.net/reference/option/language.select.rows |
||
| 55 | */ |
||
| 56 | public function languageSelectRows($value) |
||
| 62 | } |
||
| 63 |
In PHP it is possible to write to properties without declaring them. For example, the following is perfectly valid PHP code:
Generally, it is a good practice to explictly declare properties to avoid accidental typos and provide IDE auto-completion: