From de021710e1c0dae732e61ecb42a9ac60440f55ee Mon Sep 17 00:00:00 2001 From: "godzilla80@gmx.net" <> Date: Thu, 19 Mar 2009 21:20:47 +0000 Subject: replace is_null() function calls with native native language constuct --- framework/Data/SqlMap/DataMapper/TSqlMapPagedList.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'framework/Data/SqlMap/DataMapper/TSqlMapPagedList.php') diff --git a/framework/Data/SqlMap/DataMapper/TSqlMapPagedList.php b/framework/Data/SqlMap/DataMapper/TSqlMapPagedList.php index 86171c1e..68b0c638 100644 --- a/framework/Data/SqlMap/DataMapper/TSqlMapPagedList.php +++ b/framework/Data/SqlMap/DataMapper/TSqlMapPagedList.php @@ -4,7 +4,7 @@ * * @author Wei Zhuo * @link http://www.pradosoft.com/ - * @copyright Copyright © 2005-2008 PradoSoft + * @copyright Copyright © 2005-2008 PradoSoft * @license http://www.pradosoft.com/license/ * @version $Id$ * @package System.Data.SqlMap @@ -178,7 +178,7 @@ class TSqlMapPagedList extends TPagedList */ public function getIsNextPageAvailable() { - return !is_null($this->_nextPageList); + return $this->_nextPageList!==null; } /** @@ -186,7 +186,7 @@ class TSqlMapPagedList extends TPagedList */ public function getIsPreviousPageAvailable() { - return !is_null($this->_prevPageList); + return $this->_prevPageList!==null; } /** @@ -194,7 +194,7 @@ class TSqlMapPagedList extends TPagedList */ public function getIsLastPage() { - return is_null($this->_nextPageList) || $this->_nextPageList->getCount() < 1; + return ($this->_nextPageList===null) || $this->_nextPageList->getCount() < 1; } /** -- cgit v1.2.3