1 | <?php |
||
23 | class DataTablesMappingHelper { |
||
24 | |||
25 | /** |
||
26 | * Get an alias. |
||
27 | * |
||
28 | * @param DataTablesMappingInterface $mapping The mapping. |
||
29 | * @return string Returns the alias. |
||
30 | */ |
||
31 | public static function getAlias(DataTablesMappingInterface $mapping) { |
||
40 | |||
41 | /** |
||
42 | * Get a comparator. |
||
43 | * |
||
44 | * @param DataTablesMappingInterface $mapping The mapping. |
||
45 | * @return string Returns the comparator. |
||
46 | */ |
||
47 | public static function getComparator(DataTablesMappingInterface $mapping) { |
||
67 | |||
68 | /** |
||
69 | * Get a param. |
||
70 | * |
||
71 | * @param DataTablesMappingInterface $mapping The mapping. |
||
72 | * @return string Returns the param. |
||
73 | */ |
||
74 | public static function getParam(DataTablesMappingInterface $mapping) { |
||
84 | |||
85 | /** |
||
86 | * Get a where. |
||
87 | * |
||
88 | * @param DataTablesMappingInterface $mapping The mapping. |
||
89 | * @return string Returns the where. |
||
90 | */ |
||
91 | public static function getWhere(DataTablesMappingInterface $mapping) { |
||
101 | } |
||
102 |