overloadable.php
Go to the documentation of this file.00001 <?php 00002 /* SVN FILE: $Id: overloadable_8php-source.html 580 2008-07-01 14:45:49Z gwoo $ */ 00003 /** 00004 * Overload abstraction interface. Merges differences between PHP4 and 5. 00005 * 00006 * PHP versions 4 and 5 00007 * 00008 * CakePHP(tm) : Rapid Development Framework <http://www.cakephp.org/> 00009 * Copyright 2005-2008, Cake Software Foundation, Inc. 00010 * 1785 E. Sahara Avenue, Suite 490-204 00011 * Las Vegas, Nevada 89104 00012 * 00013 * Licensed under The MIT License 00014 * Redistributions of files must retain the above copyright notice. 00015 * 00016 * @filesource 00017 * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. 00018 * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project 00019 * @package cake 00020 * @subpackage cake.cake.libs 00021 * @since CakePHP(tm) v 1.2 00022 * @version $Revision: 580 $ 00023 * @modifiedby $LastChangedBy: gwoo $ 00024 * @lastmodified $Date: 2008-07-01 09:45:49 -0500 (Tue, 01 Jul 2008) $ 00025 * @license http://www.opensource.org/licenses/mit-license.php The MIT License 00026 */ 00027 /** 00028 * Overloadable class selector 00029 * 00030 * @package cake 00031 * @subpackage cake.cake.libs 00032 */ 00033 00034 /** 00035 * Load the interface class based on the version of PHP. 00036 * 00037 */ 00038 if (!PHP5) { 00039 require(LIBS . 'overloadable_php4.php'); 00040 } else { 00041 require(LIBS . 'overloadable_php5.php'); 00042 } 00043 ?>