GoogleRichSnippetThemeContentView

Extends \ThemeContentView

Class GoogleRichSnippetThemeContentView

package

Default

Methods

__construct

__construct( $p_get_array = false,  $p_post_array = false) 
inherited

Arguments

$p_get_array

$p_post_array

add_cache_id_elements

add_cache_id_elements( $p_elements_array) 
inherited

Arguments

$p_elements_array

before_build_html

before_build_html() 
inherited

build_html

build_html( $p_content_data_array = false,  $p_template_file = false) 
inherited

Arguments

$p_content_data_array

$p_template_file

clear_cache_id_elements

clear_cache_id_elements() 
inherited

get_active

get_active() : boolean

Response

boolean

get_breadcrumb_array

get_breadcrumb_array() : array

Response

array

get_breadcrumb_separator

get_breadcrumb_separator() : string

Response

string

get_breadcrumb_snippet

get_breadcrumb_snippet() : string

Response

string

get_cache_id

get_cache_id() 
inherited

get_content_array

get_content_array( $p_max_deprecation_level = false) 
inherited

Arguments

$p_max_deprecation_level

get_content_template

get_content_template() 
inherited

get_currency

get_currency() : string

Response

string

get_date_available

get_date_available() : string

Response

string

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_fsk18_purchasable

get_fsk18_purchasable() : boolean

Response

boolean

get_html

get_html() 
inherited

get_merged_deprecated_array

get_merged_deprecated_array( $p_max_deprecation_level = false) 
inherited

Arguments

$p_max_deprecation_level

get_price

get_price() : double

Response

double

get_price_status

get_price_status() : integer

Response

integer

get_products_name

get_products_name() : string

Response

string

get_quantity

get_quantity() : double

Response

double

get_rating

get_rating() : integer

Response

integer

get_rating_count

get_rating_count() : integer

Response

integer

get_review_date_created

get_review_date_created() : string

Response

string

get_review_snippet

get_review_snippet() : array

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

is_rich_snippet_active

is_rich_snippet_active() : boolean

Response

boolean

prepare_data

prepare_data() 
inherited

replace_session_id_placeholder

replace_session_id_placeholder( $p_content) 
inherited

Arguments

$p_content

search_deprecated_keys

search_deprecated_keys( $p_key_array,  &$p_array) 
inherited

Arguments

$p_key_array

$p_array

set_active

set_active(boolean $p_active) 

Arguments

$p_active

boolean

set_breadcrumb_array

set_breadcrumb_array(array $p_breadcrumb_array) 

Arguments

$p_breadcrumb_array

array

set_breadcrumb_separator

set_breadcrumb_separator(string $p_breadcrumb_separator) 

Arguments

$p_breadcrumb_separator

string

set_caching_enabled

set_caching_enabled( $p_status) 
inherited

Arguments

$p_status

set_compile_check_enabled

set_compile_check_enabled( $p_status) 
inherited

Arguments

$p_status

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

Arguments

$p_content_name

$p_content_item

$p_deprecation_level

Sets the content template file.

set_content_template( $p_filepath) : void
inherited

Arguments

$p_filepath

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

$p_template

string

$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_currency

set_currency(string $p_currency) 

Arguments

$p_currency

string

set_date_available

set_date_available(string $p_date_available) 

Arguments

$p_date_available

string

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

Arguments

$p_status

set_fsk18

set_fsk18(boolean $p_fsk18_purchasable) 

Arguments

$p_fsk18_purchasable

boolean

set_price

set_price(double $p_price) 

Arguments

$p_price

double

set_price_status

set_price_status(integer $p_price_status) 

Arguments

$p_price_status

integer

set_products_name

set_products_name(string $p_products_name) 

Arguments

$p_products_name

string

set_quantity

set_quantity(double $p_quantity) 

Arguments

$p_quantity

double

set_rating

set_rating(integer $p_rating) 

Arguments

$p_rating

integer

set_rating_count

set_rating_count(integer $p_rating_count) 

Arguments

$p_rating_count

integer

set_review_date_created

set_review_date_created(string $p_review_date_created) 

Arguments

$p_review_date_created

string

Sets the template directory path.

set_template_dir( $p_dir_path) : void
inherited

Arguments

$p_dir_path

Properties

active

active : 

Type(s)

fsk18_purchasable

fsk18_purchasable : 

Type(s)

price_status

price_status : 

Type(s)

quantity

quantity : 

Type(s)

date_available

date_available : 

Type(s)

price

price : 

Type(s)

currency

currency : 

Type(s)

products_name

products_name : 

Type(s)

breadcrumb_array

breadcrumb_array : 

Type(s)

breadcrumb_separator

breadcrumb_separator : 

Type(s)

review_date_created

review_date_created : 

Type(s)

rating

rating : 

Type(s)

rating_count

rating_count : 

Type(s)

v_env_get_array

v_env_get_array : 
inherited

Type(s)

v_env_post_array

v_env_post_array : 
inherited

Type(s)

v_content_template

v_content_template : 
inherited

Type(s)

content_array

content_array : 
inherited

Type(s)

deprecated_array

deprecated_array : 
inherited

Type(s)

v_min_deprecation_level

v_min_deprecation_level : 
inherited

Type(s)

v_flat_assigns

v_flat_assigns : 
inherited

Type(s)

v_coo_smarty

v_coo_smarty : 
inherited

Type(s)

v_cache_id_elements_array

v_cache_id_elements_array : 
inherited

Type(s)

v_template_dir

v_template_dir : 
inherited

Type(s)

v_caching_enabled

v_caching_enabled : 
inherited

Type(s)

v_compile_check_enabled

v_compile_check_enabled : 
inherited

Type(s)

v_session_id_placeholder

v_session_id_placeholder : 
inherited

Type(s)

escape_html

escape_html : 
inherited

Type(s)

build_html

build_html : 
inherited

Type(s)