ProductListingThemeContentView
extends ThemeContentView
in package
Class ThemeContentView
Table of Contents
- $content_array : mixed
- $deprecated_array : mixed
- $v_cache_id_elements_array : mixed
- $v_caching_enabled : mixed
- $v_compile_check_enabled : mixed
- $v_content_template : mixed
- $v_coo_smarty : bool|GXSmarty
- $v_env_get_array : mixed
- $v_env_post_array : mixed
- $v_flat_assigns : mixed
- $v_min_deprecation_level : mixed
- $v_session_id_placeholder : mixed
- $v_template_dir : mixed
- $build_html : mixed
- $c_path : mixed
- $cache_id_parameter_array : mixed
- $category_description : mixed
- $category_description_bottom : mixed
- $category_heading_title : mixed
- $category_id : mixed
- $category_image : mixed
- $category_image_alt_text : mixed
- $category_name : mixed
- $coo_mn_data_container : MenuBoxDataContainerInterface
- $escape_html : mixed
- $filter_selection_html : mixed
- $get_params_hidden_data_array : mixed
- $languageTextManager : mixed
- $listing_count : mixed
- $listing_sort : mixed
- $manufacturers_data_array : mixed
- $manufacturers_dropdown : mixed
- $manufacturers_id : mixed
- $maxDisplayPageLinks : mixed
- $navigation_html : mixed
- $navigation_info_html : mixed
- $navigation_pages_count : mixed
- $page_number : mixed
- $pager : mixed
- $products_array : mixed
- $products_per_page : mixed
- $search_keywords : mixed
- $show_quantity : mixed
- $showCategoriesImageInDescription : mixed
- $showManufacturerImages : mixed
- $showProductRibbons : mixed
- $showRating : mixed
- $sorting_form_action_url : mixed
- $thumbnail_width : mixed
- $view_mode : mixed
- $view_mode_url_default : mixed
- $view_mode_url_tiled : mixed
- __construct() : mixed
- add_cache_id_elements() : mixed
- before_build_html() : mixed
- build_html() : mixed
- clear_cache_id_elements() : mixed
- get_cache_id() : mixed
- get_content_array() : mixed
- get_content_template() : mixed
- get_default_template() : string
- get the first template from folder
- get_flat_assigns() : mixed
- get_html() : mixed
- get_merged_deprecated_array() : mixed
- get_session_id_placeholder() : mixed
- get_template_name() : string
- init_smarty() : mixed
- is_cached() : mixed
- is_caching_enabled() : mixed
- is_compile_check_enabled() : mixed
- prepare_data() : mixed
- replace_session_id_placeholder() : mixed
- search_deprecated_keys() : mixed
- set_caching_enabled() : mixed
- set_compile_check_enabled() : mixed
- set_content_data() : void
- Inject the content data to the template file that they are accessible in template with variables.
- set_content_template() : void
- Sets the content template file.
- set_content_template_from_string() : mixed
- Smarty can render templates from a string by using the string: or eval: resource.
- set_escape_html() : mixed
- Set whether HTML must be escaped automatically.
- set_flat_assigns() : mixed
- set_template() : mixed
- set_template_dir() : void
- Sets the template directory path.
- setPaginationInfoTemplate() : mixed
- setProductInfoProductListsTemplate() : mixed
- setProductListingHiddenFieldsTemplate() : mixed
- setProductListingMainTemplate() : mixed
- setProductListingPaginationTemplate() : mixed
- getPages() : mixed
- is_admin_file() : bool
- is_extension_file() : bool
- prepare_menu_boxes() : void
- set_deprecated_array() : mixed
- set_validation_rules() : mixed
Properties
$content_array
public
mixed
$content_array
= []
$deprecated_array
public
mixed
$deprecated_array
= []
$v_cache_id_elements_array
public
mixed
$v_cache_id_elements_array
= []
$v_caching_enabled
public
mixed
$v_caching_enabled
= alse
$v_compile_check_enabled
public
mixed
$v_compile_check_enabled
= alse
$v_content_template
public
mixed
$v_content_template
= ''
$v_coo_smarty
public
bool|GXSmarty
$v_coo_smarty
= alse
$v_env_get_array
public
mixed
$v_env_get_array
= []
$v_env_post_array
public
mixed
$v_env_post_array
= []
$v_flat_assigns
public
mixed
$v_flat_assigns
= alse
$v_min_deprecation_level
public
mixed
$v_min_deprecation_level
= 2
$v_session_id_placeholder
public
mixed
$v_session_id_placeholder
= '[#%_SESSION_ID_PLACEHOLDER_%#]'
$v_template_dir
public
mixed
$v_template_dir
= ''
$build_html
protected
mixed
$build_html
= rue
$c_path
protected
mixed
$c_path
$cache_id_parameter_array
protected
mixed
$cache_id_parameter_array
$category_description
protected
mixed
$category_description
$category_description_bottom
protected
mixed
$category_description_bottom
$category_heading_title
protected
mixed
$category_heading_title
$category_id
protected
mixed
$category_id
= 0
$category_image
protected
mixed
$category_image
$category_image_alt_text
protected
mixed
$category_image_alt_text
$category_name
protected
mixed
$category_name
$coo_mn_data_container
protected
MenuBoxDataContainerInterface
$coo_mn_data_container
$escape_html
protected
mixed
$escape_html
= alse
$filter_selection_html
protected
mixed
$filter_selection_html
$get_params_hidden_data_array
protected
mixed
$get_params_hidden_data_array
$languageTextManager
protected
mixed
$languageTextManager
$listing_count
protected
mixed
$listing_count
$listing_sort
protected
mixed
$listing_sort
$manufacturers_data_array
protected
mixed
$manufacturers_data_array
$manufacturers_dropdown
protected
mixed
$manufacturers_dropdown
$manufacturers_id
protected
mixed
$manufacturers_id
$maxDisplayPageLinks
protected
mixed
$maxDisplayPageLinks
$navigation_html
protected
mixed
$navigation_html
$navigation_info_html
protected
mixed
$navigation_info_html
$navigation_pages_count
protected
mixed
$navigation_pages_count
$page_number
protected
mixed
$page_number
$pager
protected
mixed
$pager
$products_array
protected
mixed
$products_array
$products_per_page
protected
mixed
$products_per_page
$search_keywords
protected
mixed
$search_keywords
$show_quantity
protected
mixed
$show_quantity
$showCategoriesImageInDescription
protected
mixed
$showCategoriesImageInDescription
$showManufacturerImages
protected
mixed
$showManufacturerImages
$showProductRibbons
protected
mixed
$showProductRibbons
$showRating
protected
mixed
$showRating
$sorting_form_action_url
protected
mixed
$sorting_form_action_url
$thumbnail_width
protected
mixed
$thumbnail_width
$view_mode
protected
mixed
$view_mode
$view_mode_url_default
protected
mixed
$view_mode_url_default
$view_mode_url_tiled
protected
mixed
$view_mode_url_tiled
Methods
__construct()
public
__construct([mixed $p_template = 'default' ]) : mixed
Parameters
- $p_template : mixed = 'default'
Return values
mixed —add_cache_id_elements()
public
add_cache_id_elements(mixed $p_elements_array) : mixed
Parameters
- $p_elements_array : mixed
Return values
mixed —before_build_html()
public
before_build_html() : mixed
Return values
mixed —build_html()
public
build_html([mixed $p_content_data_array = false ][, mixed $p_template_file = false ]) : mixed
Parameters
- $p_content_data_array : mixed = false
- $p_template_file : mixed = false
Return values
mixed —clear_cache_id_elements()
public
clear_cache_id_elements() : mixed
Return values
mixed —get_cache_id()
public
get_cache_id() : mixed
Return values
mixed —get_content_array()
public
get_content_array([mixed $p_max_deprecation_level = false ]) : mixed
Parameters
- $p_max_deprecation_level : mixed = false
Return values
mixed —get_content_template()
public
get_content_template() : mixed
Return values
mixed —get_default_template()
get the first template from folder
public
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
Parameters
- $filePath : string
-
Path to the templates
- $prefix : string
-
prefix of the type of template
- $template : string = 'default'
-
Name of the template
Return values
string —Template basename
get_flat_assigns()
public
get_flat_assigns() : mixed
Return values
mixed —get_html()
public
get_html() : mixed
Return values
mixed —get_merged_deprecated_array()
public
get_merged_deprecated_array([mixed $p_max_deprecation_level = false ]) : mixed
Parameters
- $p_max_deprecation_level : mixed = false
Return values
mixed —get_session_id_placeholder()
public
get_session_id_placeholder() : mixed
Return values
mixed —get_template_name()
public
get_template_name( $template) : string
Parameters
Return values
string —init_smarty()
public
init_smarty() : mixed
Return values
mixed —is_cached()
public
is_cached() : mixed
Return values
mixed —is_caching_enabled()
public
is_caching_enabled() : mixed
Return values
mixed —is_compile_check_enabled()
public
is_compile_check_enabled() : mixed
Return values
mixed —prepare_data()
public
prepare_data() : mixed
Return values
mixed —replace_session_id_placeholder()
public
replace_session_id_placeholder(mixed $p_content) : mixed
Parameters
- $p_content : mixed
Return values
mixed —search_deprecated_keys()
public
search_deprecated_keys(mixed $p_key_array, mixed &$p_array) : mixed
Parameters
- $p_key_array : mixed
- $p_array : mixed
Return values
mixed —set_caching_enabled()
public
set_caching_enabled(mixed $p_status) : mixed
Parameters
- $p_status : mixed
Return values
mixed —set_compile_check_enabled()
public
set_compile_check_enabled(mixed $p_status) : mixed
Parameters
- $p_status : mixed
Return values
mixed —set_content_data()
Inject the content data to the template file that they are accessible in template with variables.
public
set_content_data(mixed $p_content_name, mixed $p_content_item, mixed $p_deprecation_level) : void
Parameters
- $p_content_name : mixed
- $p_content_item : mixed
- $p_deprecation_level : mixed
Return values
void —set_content_template()
Sets the content template file.
public
set_content_template(mixed $p_filepath) : void
Parameters
- $p_filepath : mixed
Return values
void —set_content_template_from_string()
Smarty can render templates from a string by using the string: or eval: resource.
public
set_content_template_from_string(string $p_template[, bool $storeCompiledTemplate = true ]) : mixed
Parameters
- $p_template : string
- $storeCompiledTemplate : bool = true
-
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.
Return values
mixed —set_escape_html()
Set whether HTML must be escaped automatically.
public
set_escape_html(bool $value) : mixed
Parameters
- $value : bool
Tags
Return values
mixed —set_flat_assigns()
public
set_flat_assigns(mixed $p_status) : mixed
Parameters
- $p_status : mixed
Return values
mixed —set_template()
public
set_template(mixed $template) : mixed
Parameters
- $template : mixed
Return values
mixed —set_template_dir()
Sets the template directory path.
public
set_template_dir(mixed $p_dir_path) : void
Parameters
- $p_dir_path : mixed
Return values
void —setPaginationInfoTemplate()
public
setPaginationInfoTemplate() : mixed
Return values
mixed —setProductInfoProductListsTemplate()
public
setProductInfoProductListsTemplate() : mixed
Tags
Return values
mixed —setProductListingHiddenFieldsTemplate()
public
setProductListingHiddenFieldsTemplate() : mixed
Return values
mixed —setProductListingMainTemplate()
public
setProductListingMainTemplate() : mixed
Return values
mixed —setProductListingPaginationTemplate()
public
setProductListingPaginationTemplate() : mixed
Return values
mixed —getPages()
protected
getPages(mixed $currentPage, mixed $maxPageNumber, mixed $maxPage) : mixed
Parameters
- $currentPage : mixed
- $maxPageNumber : mixed
- $maxPage : mixed
Return values
mixed —is_admin_file()
protected
is_admin_file(mixed $p_full_template_path) : bool
Parameters
- $p_full_template_path : mixed
Return values
bool —is_extension_file()
protected
is_extension_file(string $filename) : bool
Parameters
- $filename : string
Return values
bool —prepare_menu_boxes()
protected
prepare_menu_boxes() : void
Return values
void —set_deprecated_array()
protected
set_deprecated_array() : mixed
Return values
mixed —set_validation_rules()
protected
set_validation_rules() : mixed