FRED™  3.0
FRED™: Framework for Rapid and Easy Development
Check.php
Go to the documentation of this file.
1 <?php
2 
4 
5 class Check extends \Rsi\Fred\Controller\Widget{
6 
7  public function convert($value){
8  return (bool)$value;
9  }
10 
11  public function format($value){
12  return (bool)$value;
13  }
14 
15  public function clientConvert($value){
16  return strcasecmp($value,'false') ? parent::purgeBase($value) : false;
17  }
18 
19 }