GoogleRichSnippetThemeContentView
extends ThemeContentView
in package
Class GoogleRichSnippetThemeContentView
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
- $active : mixed
- $breadcrumb_array : mixed
- $breadcrumb_separator : mixed
- $build_html : mixed
- $currency : mixed
- $date_available : mixed
- $escape_html : mixed
- $fsk18_purchasable : mixed
- $price : mixed
- $price_status : mixed
- $products_name : mixed
- $quantity : mixed
- $rating : mixed
- $rating_count : mixed
- $review_date_created : mixed
- __construct() : mixed
- add_cache_id_elements() : mixed
- before_build_html() : mixed
- build_html() : mixed
- clear_cache_id_elements() : mixed
- get_active() : bool
- get_breadcrumb_array() : array<string|int, mixed>
- get_breadcrumb_separator() : string
- get_breadcrumb_snippet() : string
- get_cache_id() : mixed
- get_content_array() : mixed
- get_content_template() : mixed
- get_currency() : string
- get_date_available() : string
- get_default_template() : string
- get the first template from folder
- get_flat_assigns() : mixed
- get_fsk18_purchasable() : bool
- get_html() : mixed
- get_merged_deprecated_array() : mixed
- get_price() : float
- get_price_status() : int
- get_products_name() : string
- get_quantity() : float
- get_rating() : int
- get_rating_count() : int
- get_review_date_created() : string
- get_review_snippet() : array<string|int, mixed>
- get_session_id_placeholder() : 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_active() : mixed
- set_breadcrumb_array() : mixed
- set_breadcrumb_separator() : 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_currency() : mixed
- set_date_available() : mixed
- set_escape_html() : mixed
- Set whether HTML must be escaped automatically.
- set_flat_assigns() : mixed
- set_fsk18() : mixed
- set_price() : mixed
- set_price_status() : mixed
- set_products_name() : mixed
- set_quantity() : mixed
- set_rating() : mixed
- set_rating_count() : mixed
- set_review_date_created() : mixed
- set_template_dir() : void
- Sets the template directory path.
- is_admin_file() : bool
- is_extension_file() : bool
- is_rich_snippet_active() : bool
- set_deprecated_array() : 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
= ''
$active
protected
mixed
$active
$breadcrumb_array
protected
mixed
$breadcrumb_array
$breadcrumb_separator
protected
mixed
$breadcrumb_separator
$build_html
protected
mixed
$build_html
= rue
$currency
protected
mixed
$currency
$date_available
protected
mixed
$date_available
$escape_html
protected
mixed
$escape_html
= alse
$fsk18_purchasable
protected
mixed
$fsk18_purchasable
$price
protected
mixed
$price
$price_status
protected
mixed
$price_status
$products_name
protected
mixed
$products_name
$quantity
protected
mixed
$quantity
$rating
protected
mixed
$rating
$rating_count
protected
mixed
$rating_count
$review_date_created
protected
mixed
$review_date_created
Methods
__construct()
public
__construct() : mixed
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_active()
public
get_active() : bool
Return values
bool —get_breadcrumb_array()
public
get_breadcrumb_array() : array<string|int, mixed>
Return values
array<string|int, mixed> —get_breadcrumb_separator()
public
get_breadcrumb_separator() : string
Return values
string —get_breadcrumb_snippet()
public
get_breadcrumb_snippet() : string
Return values
string —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_currency()
public
get_currency() : string
Return values
string —get_date_available()
public
get_date_available() : string
Return values
string —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_fsk18_purchasable()
public
get_fsk18_purchasable() : bool
Return values
bool —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_price()
public
get_price() : float
Return values
float —get_price_status()
public
get_price_status() : int
Return values
int —get_products_name()
public
get_products_name() : string
Return values
string —get_quantity()
public
get_quantity() : float
Return values
float —get_rating()
public
get_rating() : int
Return values
int —get_rating_count()
public
get_rating_count() : int
Return values
int —get_review_date_created()
public
get_review_date_created() : string
Return values
string —get_review_snippet()
public
get_review_snippet() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —get_session_id_placeholder()
public
get_session_id_placeholder() : mixed
Return values
mixed —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_active()
public
set_active(bool $p_active) : mixed
Parameters
- $p_active : bool
Return values
mixed —set_breadcrumb_array()
public
set_breadcrumb_array(array<string|int, mixed> $p_breadcrumb_array) : mixed
Parameters
- $p_breadcrumb_array : array<string|int, mixed>
Return values
mixed —set_breadcrumb_separator()
public
set_breadcrumb_separator(string $p_breadcrumb_separator) : mixed
Parameters
- $p_breadcrumb_separator : string
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_currency()
public
set_currency(string $p_currency) : mixed
Parameters
- $p_currency : string
Return values
mixed —set_date_available()
public
set_date_available(string $p_date_available) : mixed
Parameters
- $p_date_available : string
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_fsk18()
public
set_fsk18(bool $p_fsk18_purchasable) : mixed
Parameters
- $p_fsk18_purchasable : bool
Return values
mixed —set_price()
public
set_price(float $p_price) : mixed
Parameters
- $p_price : float
Return values
mixed —set_price_status()
public
set_price_status(int $p_price_status) : mixed
Parameters
- $p_price_status : int
Return values
mixed —set_products_name()
public
set_products_name(string $p_products_name) : mixed
Parameters
- $p_products_name : string
Return values
mixed —set_quantity()
public
set_quantity(float $p_quantity) : mixed
Parameters
- $p_quantity : float
Return values
mixed —set_rating()
public
set_rating(int $p_rating) : mixed
Parameters
- $p_rating : int
Return values
mixed —set_rating_count()
public
set_rating_count(int $p_rating_count) : mixed
Parameters
- $p_rating_count : int
Return values
mixed —set_review_date_created()
public
set_review_date_created(string $p_review_date_created) : mixed
Parameters
- $p_review_date_created : string
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 —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 —is_rich_snippet_active()
protected
is_rich_snippet_active() : bool
Return values
bool —set_deprecated_array()
protected
set_deprecated_array() : mixed