/libs/Smarty.class.php

Description

Project: Smarty: the PHP compiling template engine File: Smarty.class.php SVN: $Id: Smarty.class.php 4742 2013-06-17 13:30:49Z Uwe.Tews@googlemail.com $

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

For questions, help, comments, discussion, etc., please join the Smarty mailing list. Send a blank e-mail to smarty-discussion-subscribe@googlegroups.com

Classes
Class Description
Smarty This is the main Smarty class
SmartyException Smarty exception class
SmartyCompilerException Smarty compiler exception class
Includes
Strict standards: Only variables should be passed by reference in C:\wamp\www\phpdocumentator\PhpDocumentor-1.4.3\phpDocumentor\Smarty-2.6.0\libs\Smarty_Compiler.class.php on line 712 Call Stack: 0.0006 229032 1. {main}() C:\wamp\www\phpdocumentator\PhpDocumentor-1.4.3\phpdoc:0 0.0027 240216 2. include('C:\wamp\www\phpdocumentator\PhpDocumentor-1.4.3\phpDocumentor\phpdoc.inc') C:\wamp\www\phpdocumentator\PhpDocumentor-1.4.3\phpdoc:59 0.1463 8650352 3. phpDocumentor_setup->createDocs() C:\wamp\www\phpdocumentator\PhpDocumentor-1.4.3\phpDocumentor\phpdoc.inc:65 13.2331 130016152 4. phpDocumentor_IntermediateParser->Output() C:\wamp\www\phpdocumentator\PhpDocumentor-1.4.3\phpDocumentor\Setup.inc.php:761 13.9644 131381624 5. phpDocumentor_IntermediateParser->Convert() C:\wamp\www\phpdocumentator\PhpDocumentor-1.4.3\phpDocumentor\IntermediateParser.inc:1865 13.9644 131381720 6. Converter->walk() C:\wamp\www\phpdocumentator\PhpDocumentor-1.4.3\phpDocumentor\IntermediateParser.inc:1652 18.5690 134930384 7. HTMLframesConverter->endPage() C:\wamp\www\phpdocumentator\PhpDocumentor-1.4.3\phpDocumentor\Converter.inc:1939 18.5692 134931536 8. Smarty->fetch() C:\wamp\www\phpdocumentator\PhpDocumentor-1.4.3\phpDocumentor\Converters\HTML\frames\HTMLframesConverter.inc:366 18.5705 135044864 9. include('C:\wamp\www\smarty3.1.0\development\Smarty3Doc\Smarty\PluginsShared\26d3399f63abd43a7d72f8c21440dcb0\%%-65^%%-658603405^page.tpl.php') C:\wamp\www\phpdocumentator\PhpDocumentor-1.4.3\phpDocumentor\Smarty-2.6.0\libs\Smarty.class.php:1298 18.5719 135052880 10. Smarty->_smarty_include() C:\wamp\www\smarty3.1.0\development\Smarty3Doc\Smarty\PluginsShared\26d3399f63abd43a7d72f8c21440dcb0\%%-65^%%-658603405^page.tpl.php:155 18.5721 135056016 11. Smarty->_compile_resource() C:\wamp\www\phpdocumentator\PhpDocumentor-1.4.3\phpDocumentor\Smarty-2.6.0\libs\Smarty.class.php:1935 18.5724 135058528 12. Smarty->_compile_source() C:\wamp\www\phpdocumentator\PhpDocumentor-1.4.3\phpDocumentor\Smarty-2.6.0\libs\Smarty.class.php:1458 18.5727 135090656 13. Smarty_Compiler->_compile_file() C:\wamp\www\phpdocumentator\PhpDocumentor-1.4.3\phpDocumentor\Smarty-2.6.0\libs\Smarty.class.php:1523 18.5732 135103328 14. Smarty_Compiler->_compile_tag() C:\wamp\www\phpdocumentator\PhpDocumentor-1.4.3\phpDocumentor\Smarty-2.6.0\libs\Smarty_Compiler.class.php:316 18.5740 135104248 15. Smarty_Compiler->_compile_custom_tag() C:\wamp\www\phpdocumentator\PhpDocumentor-1.4.3\phpDocumentor\Smarty-2.6.0\libs\Smarty_Compiler.class.php:537
include_once (smarty_internal_resource_file.php) (line 99)
include_once (smarty_internal_data.php) (line 95)

Load always needed external class files

include_once (smarty_internal_cacheresource_file.php) (line 101)
include_once (smarty_cacheresource.php) (line 100)
include_once (smarty_resource.php) (line 98)
include_once (smarty_internal_templatebase.php) (line 96)
include_once (smarty_internal_template.php) (line 97)
Constants
Strict standards: Only variables should be passed by reference in C:\wamp\www\phpdocumentator\PhpDocumentor-1.4.3\phpDocumentor\Smarty-2.6.0\libs\Smarty_Compiler.class.php on line 712 Call Stack: 0.0006 229032 1. {main}() C:\wamp\www\phpdocumentator\PhpDocumentor-1.4.3\phpdoc:0 0.0027 240216 2. include('C:\wamp\www\phpdocumentator\PhpDocumentor-1.4.3\phpDocumentor\phpdoc.inc') C:\wamp\www\phpdocumentator\PhpDocumentor-1.4.3\phpdoc:59 0.1463 8650352 3. phpDocumentor_setup->createDocs() C:\wamp\www\phpdocumentator\PhpDocumentor-1.4.3\phpDocumentor\phpdoc.inc:65 13.2331 130016152 4. phpDocumentor_IntermediateParser->Output() C:\wamp\www\phpdocumentator\PhpDocumentor-1.4.3\phpDocumentor\Setup.inc.php:761 13.9644 131381624 5. phpDocumentor_IntermediateParser->Convert() C:\wamp\www\phpdocumentator\PhpDocumentor-1.4.3\phpDocumentor\IntermediateParser.inc:1865 13.9644 131381720 6. Converter->walk() C:\wamp\www\phpdocumentator\PhpDocumentor-1.4.3\phpDocumentor\IntermediateParser.inc:1652 18.5690 134930384 7. HTMLframesConverter->endPage() C:\wamp\www\phpdocumentator\PhpDocumentor-1.4.3\phpDocumentor\Converter.inc:1939 18.5692 134931536 8. Smarty->fetch() C:\wamp\www\phpdocumentator\PhpDocumentor-1.4.3\phpDocumentor\Converters\HTML\frames\HTMLframesConverter.inc:366 18.5705 135044864 9. include('C:\wamp\www\smarty3.1.0\development\Smarty3Doc\Smarty\PluginsShared\26d3399f63abd43a7d72f8c21440dcb0\%%-65^%%-658603405^page.tpl.php') C:\wamp\www\phpdocumentator\PhpDocumentor-1.4.3\phpDocumentor\Smarty-2.6.0\libs\Smarty.class.php:1298 18.5910 135064176 10. Smarty->_smarty_include() C:\wamp\www\smarty3.1.0\development\Smarty3Doc\Smarty\PluginsShared\26d3399f63abd43a7d72f8c21440dcb0\%%-65^%%-658603405^page.tpl.php:189 18.5911 135067312 11. Smarty->_compile_resource() C:\wamp\www\phpdocumentator\PhpDocumentor-1.4.3\phpDocumentor\Smarty-2.6.0\libs\Smarty.class.php:1935 18.5915 135070272 12. Smarty->_compile_source() C:\wamp\www\phpdocumentator\PhpDocumentor-1.4.3\phpDocumentor\Smarty-2.6.0\libs\Smarty.class.php:1458 18.5917 135102984 13. Smarty_Compiler->_compile_file() C:\wamp\www\phpdocumentator\PhpDocumentor-1.4.3\phpDocumentor\Smarty-2.6.0\libs\Smarty.class.php:1523 18.5922 135118880 14. Smarty_Compiler->_compile_tag() C:\wamp\www\phpdocumentator\PhpDocumentor-1.4.3\phpDocumentor\Smarty-2.6.0\libs\Smarty_Compiler.class.php:316 18.5929 135119800 15. Smarty_Compiler->_compile_custom_tag() C:\wamp\www\phpdocumentator\PhpDocumentor-1.4.3\phpDocumentor\Smarty-2.6.0\libs\Smarty_Compiler.class.php:537
DS = DIRECTORY_SEPARATOR (line 38)

define shorthand directory separator constant

SMARTY_DIR = dirname(__FILE__).DS (line 46)

set SMARTY_DIR to absolute path to Smarty library files.

Sets SMARTY_DIR only if user application has not already defined it.

SMARTY_MBSTRING = function_exists('mb_split') (line 60)
SMARTY_PLUGINS_DIR = SMARTY_DIR.'plugins'.DS (line 57)
SMARTY_RESOURCE_CHAR_SET = SMARTY_MBSTRING?'UTF-8':'ISO-8859-1' (line 67)
  • deprecated: in favor of Smarty::$_CHARSET
SMARTY_RESOURCE_DATE_FORMAT = '%b %e, %Y' (line 73)
  • deprecated: in favor of Smarty::$_DATE_FORMAT
SMARTY_SPL_AUTOLOAD = 0 (line 80)

register the class autoloader

SMARTY_SYSPLUGINS_DIR = SMARTY_DIR.'sysplugins'.DS (line 54)

set SMARTY_SYSPLUGINS_DIR to absolute path to Smarty internal plugins.

Sets SMARTY_SYSPLUGINS_DIR only if user application has not already defined it.

Functions
smartyAutoload (line 1512)

Autoloader

void smartyAutoload ( $class)
  • $class

Documentation generated on Mon, 17 Jun 2013 21:06:43 +0000 by phpDocumentor 1.4.3