<?php/** * @package FrameworkOnFramework * @subpackage model * @copyright Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */// Protect from unauthorized accessdefined('FOF_INCLUDED')ordie;/** * FrameworkOnFramework model behavior class * * @package FrameworkOnFramework * @since 2.1 */classFOFModelFieldBooleanextendsFOFModelFieldNumber{/** * Is it a null or otherwise empty value? * * @param mixed $value The value to test for emptiness * * @return boolean */publicfunctionisEmpty($value){returnis_null($value)||($value==='');}}