phpDocumentor

WishListThemeContentView extends ThemeContentView
in package
implements WishListContentViewInterface

Class WishListThemeContentView

Interfaces, Classes and Traits

WishListContentViewInterface

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
$allowCheckout  : mixed
$anyOutOfStock  : mixed
$build_html  : mixed
$coo_whishlist  : wishList_ORIGIN
$disabledProductNames  : mixed
$escape_html  : mixed
$gmHistory  : mixed
$hiddenOptions  : mixed
$infoMessage  : mixed
$itemsRemovedFromList  : mixed
$listCountDisabledProducts  : mixed
$listIsEmpty  : mixed
$orderDetailsWishListThemeContentView  : mixed
$productErrorMessages  : array<string|int, mixed>
$products  : 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
getAllowCheckout()  : mixed
getAnyOutOfStock()  : mixed
getCooWhishlist()  : wishList_ORIGIN
getGmHistory()  : mixed
getHiddenOptions()  : mixed
getInfoMessage()  : null
getOrderDetailsWishListContentView()  : null|OrderDetailsWishListThemeContentView
getProductMessages()  : mixed
getProducts()  : array<string|int, mixed>
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_dir()  : void
Sets the template directory path.
setAllowCheckout()  : mixed
setAnyOutOfStock()  : mixed
setCooWhishlist()  : mixed
setDisabledProductNames()  : void
setGmHistory()  : mixed
setHiddenOptions()  : mixed
setInfoMessage()  : mixed
setItemsRemovedFromList()  : void
setListCountDisabledProducts()  : void
setProductMessages()  : mixed
setProducts()  : mixed
_assignContentRemovedProductsMessage()  : void
_assignEmptyCart()  : mixed
_assignFilledCart()  : mixed
_bofGmModGXCustomizer()  : mixed
_buildAttributesArray()  : mixed
_orderDetails()  : mixed
_setContentDataListDisabledProduct()  : void
disabledProductMessageFormatString()  : string
getQueryForAttributes()  : string
is_admin_file()  : bool
is_extension_file()  : bool
set_deprecated_array()  : mixed

Properties

$v_session_id_placeholder

public mixed $v_session_id_placeholder = '[#%_SESSION_ID_PLACEHOLDER_%#]'

Methods

add_cache_id_elements()

public add_cache_id_elements(mixed $p_elements_array) : mixed
Parameters
$p_elements_array : 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_content_array()

public get_content_array([mixed $p_max_deprecation_level = false ]) : mixed
Parameters
$p_max_deprecation_level : mixed = false
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_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

is_compile_check_enabled()

public is_compile_check_enabled() : 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_flat_assigns()

public set_flat_assigns(mixed $p_status) : mixed
Parameters
$p_status : 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

setAllowCheckout()

public setAllowCheckout(mixed &$allowCheckout) : mixed
Parameters
$allowCheckout : mixed
Return values
mixed

setAnyOutOfStock()

public setAnyOutOfStock(mixed &$anyOutOfStock) : mixed
Parameters
$anyOutOfStock : mixed
Return values
mixed

setCooWhishlist()

public setCooWhishlist(wishList_ORIGIN $coo_whishlist) : mixed
Parameters
$coo_whishlist : wishList_ORIGIN
Return values
mixed

setDisabledProductNames()

public setDisabledProductNames(string|null $names) : void
Parameters
$names : string|null
Return values
void

setGmHistory()

public setGmHistory(array<string|int, mixed> $gmHistory) : mixed
Parameters
$gmHistory : array<string|int, mixed>
Return values
mixed

setHiddenOptions()

public setHiddenOptions(mixed $hiddenOptions) : mixed
Parameters
$hiddenOptions : mixed
Return values
mixed

setItemsRemovedFromList()

public setItemsRemovedFromList(int $itemsRemovedFromList) : void
Parameters
$itemsRemovedFromList : int
Return values
void

setListCountDisabledProducts()

public setListCountDisabledProducts(int $countDisabled) : void
Parameters
$countDisabled : int
Return values
void

setProductMessages()

public setProductMessages(array<string|int, mixed> $productErrorMessages) : mixed
Parameters
$productErrorMessages : array<string|int, mixed>
Return values
mixed

setProducts()

public setProducts(array<string|int, mixed> $products) : mixed
Parameters
$products : array<string|int, mixed>
Return values
mixed

disabledProductMessageFormatString()

protected disabledProductMessageFormatString(bool $plural) : string
Parameters
$plural : bool

is there more than one product disabled?

Return values
string

format string for sprintf

getQueryForAttributes()

protected getQueryForAttributes(array<string|int, mixed> $product,  $option,  $value) : string
Parameters
$product : array<string|int, mixed>
$option :
$value :
Return values
string

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

set_deprecated_array()

protected set_deprecated_array() : mixed
Return values
mixed

Search results