Class ProductNavigatorThemeContentView
package |
Default |
---|
__construct( $p_get_array = false, $p_post_array = false)
_assignData()
_generateSql() : string
string
Returns the products sql string
_getCategoriesSortingSql() : string
string
SQL for sorting
_getProductInfo() : array
array
Product info array + actual selected key
_getSortOrder() : string
string
Returns the order statement
_prepareAssignData(array $productArray, integer $actualKey)
array
Product information array
integer
Currently selected product
_setUrl(integer $id, array $productArray, string $name)
integer
array
string
add_cache_id_elements( $p_elements_array)
before_build_html()
build_html( $p_content_data_array = false, $p_template_file = false)
clear_cache_id_elements()
get_cache_id()
get_content_array( $p_max_deprecation_level = false)
get_content_template()
get_default_template(string $filePath, string $prefix, string $template = 'default') : string
this function gets the first template from the folder, if the given filepath not an file
string
Path to the templates
string
prefix of the type of template
string
Name of the template
string
Template basename
get_flat_assigns()
get_html()
get_merged_deprecated_array( $p_max_deprecation_level = false)
get_session_id_placeholder()
getCategoryId() : integer
integer
Category ID
getCustomerStatusId() : integer
integer
Customer Status ID
getFSK18DisplayAllowed() : integer
integer
getLanguageId() : integer
integer
Language ID
getLastListingSql() : string
string
Last executed SQL string
getProduct() : \product
\product
Product object
init_smarty()
is_cached()
is_caching_enabled()
is_compile_check_enabled()
prepare_data()
replace_session_id_placeholder( $p_content)
search_deprecated_keys( $p_key_array, &$p_array)
set_caching_enabled( $p_status)
set_compile_check_enabled( $p_status)
set_content_data( $p_content_name, $p_content_item, $p_deprecation_level) : void
set_content_template( $p_filepath) : void
set_content_template_from_string(string $p_template, boolean $storeCompiledTemplate = true)
string
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_escape_html(boolean $value)
set_flat_assigns( $p_status)
set_template_dir( $p_dir_path) : void
setCategoryId(integer $p_categoryId)
integer
Category ID
setCustomerStatusId(integer $p_customerStatusId)
integer
Customer Status ID
setFSK18DisplayAllowed( $p_fsk18DisplayAllowed) : integer
integer
setLanguageId(integer $p_langId)
integer
Language ID
setLastListingSql(string $p_lastListingSql)
string
Last executed SQL string
setProduct(\product $p_product)
\product
Product object
product :
categoryId :
lastListingSql :
fsk18DisplayAllowed :
customerStatusId :
languageId :
assignData :
boostProducts :
seoBoost :
v_env_get_array :
v_env_post_array :
v_content_template :
content_array :
deprecated_array :
v_min_deprecation_level :
v_flat_assigns :
v_coo_smarty :
v_cache_id_elements_array :
v_template_dir :
v_caching_enabled :
v_compile_check_enabled :
v_session_id_placeholder :
escape_html :
build_html :