Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
Boolean.php
Go to the documentation of this file.
1<?php
2
4
6
8
9 public static function toView($value) {
10 if ($value != null)
11 return \filter_var ( $value, FILTER_VALIDATE_BOOLEAN ) === true;
12 }
13}
static toView($value)
Transforms normalized data to view data.
Definition Boolean.php:9
Transform an instance for being displayed in a view.