Methods
__construct
__construct( $p_get_array = false, $p_post_array = false)
inherited
_setAdminLinkInfo
_setAdminLinkInfo()
_setAdminUrl
_setAdminUrl()
_setCountCustomers
_setCountCustomers()
_setCountProducts
_setCountProducts()
_setCountReviews
_setCountReviews()
_setOrdersContents
_setOrdersContents()
add_cache_id_elements
add_cache_id_elements( $p_elements_array)
inherited
before_build_html
before_build_html()
inherited
build_html
build_html( $p_content_data_array = false, $p_template_file = false)
inherited
clear_cache_id_elements
clear_cache_id_elements()
inherited
get_cache_id
get_cache_id()
inherited
get_content_array
get_content_array( $p_max_deprecation_level = false)
inherited
get_content_template
get_content_template()
inherited
get the first template from folder
get_default_template(string $filePath, string $prefix, string $template = 'default') : string
inherited
this function gets the first template from the folder,
if the given filepath not an file
Arguments
$filePath
string
Path to the templates
$prefix
string
prefix of the type of template
$template
string
Name of the template
Response
string
Template basename
get_flat_assigns
get_flat_assigns()
inherited
get_html
get_html()
inherited
get_merged_deprecated_array
get_merged_deprecated_array( $p_max_deprecation_level = false)
inherited
get_session_id_placeholder
get_session_id_placeholder()
inherited
init_smarty
init_smarty()
inherited
is_cached
is_cached()
inherited
is_caching_enabled
is_caching_enabled()
inherited
is_compile_check_enabled
is_compile_check_enabled()
inherited
prepare_data
prepare_data()
inherited
replace_session_id_placeholder
replace_session_id_placeholder( $p_content)
inherited
search_deprecated_keys
search_deprecated_keys( $p_key_array, &$p_array)
inherited
set_caching_enabled
set_caching_enabled( $p_status)
inherited
set_compile_check_enabled
set_compile_check_enabled( $p_status)
inherited
Inject the content data to the template file that they are accessible in template with variables.
set_content_data( $p_content_name, $p_content_item, $p_deprecation_level) : void
inherited
Sets the content template file.
set_content_template( $p_filepath) : void
inherited
Smarty can render templates from a string by using the string: or eval: resource.
set_content_template_from_string(string $p_template, boolean $storeCompiledTemplate = true)
inherited
Arguments
$storeCompiledTemplate
boolean
If set on "true", each unique template string will create a new compiled
template file. If your template strings are accessed frequently, this is a
good choice. If you have frequently changing template strings (or strings
with low reuse value), "false" may be a better choice, as it doesn't save
compiled templates to disk.
set_deprecated_array
set_deprecated_array()
inherited
Set whether HTML must be escaped automatically.
set_escape_html(boolean $value)
inherited
set_flat_assigns
set_flat_assigns( $p_status)
inherited
Sets the template directory path.
set_template_dir( $p_dir_path) : void
inherited
setCPath
setCPath( $p_cPath)
setProduct
setProduct(\product $p_coo_product)
Properties
contentsArray
contentsArray :
deprecatedBoxEntryCustomers
deprecatedBoxEntryCustomers :
deprecatedBoxEntryProducts
deprecatedBoxEntryProducts :
deprecatedBoxEntryReviews
deprecatedBoxEntryReviews :
v_env_get_array
v_env_get_array :
inherited
v_env_post_array
v_env_post_array :
inherited
v_content_template
v_content_template :
inherited
content_array
content_array :
inherited
deprecated_array
deprecated_array :
inherited
v_min_deprecation_level
v_min_deprecation_level :
inherited
v_flat_assigns
v_flat_assigns :
inherited
v_coo_smarty
v_coo_smarty :
inherited
v_cache_id_elements_array
v_cache_id_elements_array :
inherited
v_template_dir
v_template_dir :
inherited
v_caching_enabled
v_caching_enabled :
inherited
v_compile_check_enabled
v_compile_check_enabled :
inherited
v_session_id_placeholder
v_session_id_placeholder :
inherited
escape_html
escape_html :
inherited
build_html
build_html :
inherited