-
$cache
-
This is the cache driver to use for storing bytecode and HTML caches.
-
$cacheDir
-
Directory in which bytecode and HTML caches can be stored when using the file cache driver.
-
$cacheHandler
-
Cache management. Used internally.
-
$cacheLimit
-
Maximum age of HTML caches in seconds.
-
$charset
-
Character set that output should be in.
-
CACHE_HTML
-
Passed to cache drivers to indicate that an HTML cache is requested.
-
CACHE_LIMIT
-
Cache expiration time in seconds.
-
CACHE_TPL
-
Passed to cache drivers to indicate that a compile cache is requested.
-
CHARSET
-
Option code for setting or retrieving the charset used during encoding.
-
clearCache
-
Clear all HTML cache files.
-
clear
-
Clears all caches the driver is responsible for.
-
clear
-
Clears all caches the driver is responsible for.
-
clear
-
Clears all caches the driver is responsible for.
-
CacheDriver.php
-
-
$cacheId
-
Cache identifier.
-
getContext
-
Get the global variable context.
-
getFunction
-
Returns an array containing the data for template function. This will first look for registered functions, then it will attempt to auto-register a function using the smarty_function_foo naming scheme. Finally, it will attempt to load a function plugin.
-
getModifier
-
Returns the callback for a template modifier, if it exists. This will first look for registered modifiers, then it will attempt to auto-register a modifier using the smarty_modifier_foo naming scheme. Finally, it will attempt to load a modifier plugin.
-
getOption
-
Get the value of an option
-
getRuntime
-
Get a runtime instance.
-
getStorage
-
Get a storage driver.
-
getTemplate
-
Load a template object
-
getVariable
-
Looks up the current value of a variable.
-
getHandle
-
Returns the source code (the name) as the handle.
-
getHandle
-
Searches for the template in the template directories
-
getHandle
-
Search for the template and return a driver-specific handle.
-
getLastModified
-
Returns the modified timestamp of the template.
-
getLastModified
-
Returns the timestamp.
-
getLastModified
-
Returns the current time.
-
getLastModified
-
Returns the timestamp for the given reference, or zero if the file is not in the cache.
-
getLastModified
-
Returns the timestamp of the handle.
-
getLastModified
-
Returns the timestamp.
-
getName
-
Returns the text 'source template'.
-
getName
-
Returns a user-friendly name for the handle.
-
getName
-
Returns the path to the template for error messages
-
getSource
-
Returns the source of the template.
-
getSource
-
Returns the source of the template.
-
getSource
-
Returns the source for the handle.
-
getContext
-
Get the template's local variable context
-
getLastModified
-
Get the last-modified timestamp of the template.
-
getName
-
Get a user-friendly name for the template
-
getSource
-
Get the source code of the template.
-
set
-
Set a new variable to be available within templates.
-
setDelimiter
-
Change the current delimiters.
-
setOption
-
Set the value of an option
-
Sugar
-
Sugar core class.
-
Sugar.php
-
-
Sugar_Util_EscapeJavascript
-
Performs string-escaping for JavaScript values.
-
Sugar_Util_GetArg
-
Returns an argument from a function parameter list, supporting both position and named parameters and default values.
-
Sugar_Util_IsVector
-
Checks if an array is a "vector," or an array with only integral indexes starting at zero and incrementally increasing. Used only for nice exporting to JavaScript.
-
Sugar_Util_Json
-
Formats a PHP value in JavaScript format.
-
Sugar_Util_SearchForFile
-
Attempt to locate a file in one or more source directories.
-
Sugar_Util_ValueToTime
-
Convert a value into a timestamp. This is essentially strtotime(), except that if an integer timestamp is passed in it is returned verbatim, and if the value cannot be parsed, it returns the current timestamp.
-
store
-
Adds the bytecode to the cache.
-
store
-
Adds the bytecode to the cache.
-
store
-
Adds the bytecode to the cache.
-
String.php
-
-
StorageDriver.php
-
-
Sugar_CacheDriver
-
Interface for Sugar cache drivers. These are used for storing and retrieving bytecode and HTML caches.
-
Sugar_Cache_File
-
File-based cache driver.
-
Sugar_Cache_Memcache
-
Memcache-based cache driver.
-
Sugar_StorageDriver
-
Storage driver interface.
-
Sugar_Storage_File
-
File-based storage driver.
-
Sugar_Storage_String
-
String-based storage driver.
-
Sugar_Exception
-
Generic Sugar exception.
-
Sugar_Exception_Parse
-
Parse error.
-
Sugar_Exception_Runtime
-
Runtime error.
-
Sugar_Exception_Usage
-
Invocation error.
-
Stdlib.php
-
-
sugar_function_array
-
Standard library function
-
sugar_function_basename
-
Standard library function
-
sugar_function_checked
-
Standard library function
-
sugar_function_count
-
Standard library function
-
sugar_function_cycle
-
Standard library function
-
sugar_function_date
-
Standard library function
-
sugar_function_default
-
Standard library function
-
sugar_function_disabled
-
Standard library function
-
sugar_function_eval
-
Standard library function
-
sugar_function_explode
-
Standard library function
-
sugar_function_implode
-
Standard library function
-
sugar_function_include
-
Standard library function
-
sugar_function_isset
-
Standard library function
-
sugar_function_join
-
Standard library function
-
sugar_function_json
-
Standard library function
-
sugar_function_ldelim
-
Standard library function
-
sugar_function_merge
-
Standard library function
-
sugar_function_nl2br
-
Standard library function
-
sugar_function_printf
-
Standard library function
-
sugar_function_psplit
-
Standard library function
-
sugar_function_rdelim
-
Standard library function
-
sugar_function_select
-
Standard library function
-
sugar_function_selected
-
Standard library function
-
sugar_function_split
-
Standard library function
-
sugar_function_sprintf
-
Standard library function
-
sugar_function_strtolower
-
Standard library function
-
sugar_function_strtoupper
-
Standard library function
-
sugar_function_substr
-
Standard library function
-
sugar_function_time
-
Standard library function
-
sugar_function_truncate
-
Standard library function
-
sugar_function_urlencode
-
Standard library function
-
sugar_function_var
-
Standard library function
-
sugar_modifier_default
-
Standard library function
-
sugar_modifier_escape
-
Standard library function
-
sugar_modifier_int
-
Standard library function
-
sugar_modifier_json
-
Standard library function
-
sugar_modifier_lower
-
Standard library function
-
sugar_modifier_upper
-
Standard library function
-
$sugar
-
Our Sugar instance
-
set
-
Helper to set a variable in the template's local context
-
setInherit
-
Set the inherited template, which overrides any inherited template specified in the template source.
-
Sugar_Template
-
Template instance object.