| 1 | <?php | ||
| 14 | class QueryManipulator | ||
| 15 | { | ||
| 16 | /** | ||
| 17 | * Convert booleans to string so that they're not passed as 0 and 1 | ||
| 18 | * | ||
| 19 | * @param array $elements | ||
| 20 | * @return array | ||
| 21 | */ | ||
| 22 | public static function boolToString(array $elements) | ||
| 36 | |||
| 37 | /** | ||
| 38 | * Convert a value to its string representation | ||
| 39 | * | ||
| 40 | * @param mixed $variable | ||
| 41 | * @return string | ||
| 42 | */ | ||
| 43 | public static function varToString($variable) | ||
| 59 | } | ||
| 60 |