|
eZ Publish
[trunk]
|
00001 <?php 00002 /** 00003 * @copyright Copyright (C) 1999-2012 eZ Systems AS. All rights reserved. 00004 * @license http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License v2 00005 * @version //autogentag// 00006 * @package kernel 00007 */ 00008 00009 /** 00010 * Function to get template instance, load autoloads (operators) and set default settings. 00011 * 00012 * @deprecated Since 4.3, superseded by {@link eZTemplate::factory()} 00013 * Will be kept for compatability in 4.x. 00014 * @param string $name (Not supported as it was prevoisly set on same instance anyway) 00015 * @return eZTemplate 00016 */ 00017 function templateInit( $name = false ) 00018 { 00019 eZDebug::writeStrict( 'Function templateInit() has been deprecated in 4.3 in favor of eZTemplate::factory()', 'Deprecation' ); 00020 return eZTemplate::factory(); 00021 } 00022 00023 00024 ?>