/libs/Smarty.class.php

Description

Project: Smarty: the PHP compiling template engine File: Smarty.class.php SVN: $Id: Smarty.class.php 4319 2011-09-24 15:45:30Z rodneyrehm $

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
include_once (smarty_internal_resource_file.php) (line 93)
include_once (smarty_internal_data.php) (line 89)

Load always needed external class files

include_once (smarty_internal_cacheresource_file.php) (line 95)
include_once (smarty_cacheresource.php) (line 94)
include_once (smarty_resource.php) (line 92)
include_once (smarty_internal_templatebase.php) (line 90)
include_once (smarty_internal_template.php) (line 91)
Constants
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_strlen') (line 60)
SMARTY_PLUGINS_DIR = SMARTY_DIR.'plugins'.DS (line 57)
SMARTY_RESOURCE_CHAR_SET = SMARTY_MBSTRING?'UTF-8':'ISO-8859-1' (line 64)
SMARTY_RESOURCE_DATE_FORMAT = '%b %e, %Y' (line 67)
SMARTY_SPL_AUTOLOAD = 0 (line 74)

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 1409)

Autoloader

void smartyAutoload ( $class)
  • $class

Documentation generated on Sat, 24 Sep 2011 20:23:19 +0200 by phpDocumentor 1.4.1