TellAFriendThemeContentView

Extends \ThemeContentView

package

Default

Methods

__construct

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

Arguments

$p_get_array

$p_post_array

_getAttributesAndProperties

_getAttributesAndProperties() : array

Response

array

_getCustomerEmailSql

_getCustomerEmailSql() : string

Response

string

$sql

_getFormData

_getFormData() : array

Response

array

$formDataArray

_getProductsNameSql

_getProductsNameSql() : string

Response

string

$sql

_getSenderAddress

_getSenderAddress() : string

Response

string

$sender

_prepareEmailForm

_prepareEmailForm(string $product) 

Arguments

$product

string

_prepareMail

_prepareMail(string $email, string $sender, string $productLink) 

Arguments

$email

string

$sender

string

$productLink

string

_validateInput

_validateInput(string $product) : mixed|string|boolean

Arguments

$product

string

Response

mixed|string|boolean

$productLink

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_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 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_html

get_html() 
inherited

get_merged_deprecated_array

get_merged_deprecated_array( $p_max_deprecation_level = false) 
inherited

Arguments

$p_max_deprecation_level

get_session_id_placeholder

get_session_id_placeholder() 
inherited

getCaptchaObject

getCaptchaObject() : \Captcha

Response

\Captcha

Captcha Object

getCustomerFirstName

getCustomerFirstName() : string

Response

string

Customer First Name

getCustomerId

getCustomerId() : integer

Response

integer

Customer ID

getCustomerLastName

getCustomerLastName() : string

Response

string

Customer Last Name

getEmail

getEmail() : string

Response

string

POST of the E-Mail Address

getLanguagesId

getLanguagesId() : integer

Response

integer

Languages ID

getMessage

getMessage() : string

Response

string

getName

getName() : string

Response

string

POST of the Name

getPost

getPost() : array

Response

array

$post

getProductsId

getProductsId() : integer

Response

integer

Products ID

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

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_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_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

Sets the template directory path.

set_template_dir( $p_dir_path) : void
inherited

Arguments

$p_dir_path

setAttributeIds

setAttributeIds(array $ids) 

Arguments

$ids

array

setCaptchaObject

setCaptchaObject(\Captcha $captchaObject) 

Arguments

$captchaObject

\Captcha

Captcha Object

setCustomerFirstName

setCustomerFirstName(string $p_customerFirstName) 

Arguments

$p_customerFirstName

string

Customer First Name

setCustomerId

setCustomerId(integer $p_customerId) 

Arguments

$p_customerId

integer

Customer ID

setCustomerLastName

setCustomerLastName(string $p_customerLastName) 

Arguments

$p_customerLastName

string

Customer Last Name

setEmail

setEmail(string $p_email) 

Arguments

$p_email

string

POST of the E-Mail Address

setLanguagesId

setLanguagesId(integer $p_languagesId) 

Arguments

$p_languagesId

integer

Languages ID

setMessage

setMessage(string $p_message) 

Arguments

$p_message

string

POST of the Message

setName

setName(string $p_name) 

Arguments

$p_name

string

POST of the Name

setPost

setPost(array $p_post) 

Arguments

$p_post

array

setPrivacyAccepted

setPrivacyAccepted(string $p_privacyAccepted) 

Arguments

$p_privacyAccepted

string

POST of privacy checkbox

setProductQuestionTemplate

setProductQuestionTemplate() 

setProductsId

setProductsId(integer $p_productsId) 

Arguments

$p_productsId

integer

Products ID

setPropertyValueIds

setPropertyValueIds(array $ids) 

Arguments

$ids

array

Properties

productsId

productsId : 

Type(s)

languagesId

languagesId : 

Type(s)

customerId

customerId : 

Type(s)

captchaObject

captchaObject : 

Type(s)

customerFirstName

customerFirstName : 

Type(s)

customerLastName

customerLastName : 

Type(s)

post

post : 

Type(s)

name

name : 

Type(s)

email

email : 

Type(s)

message

message : 

Type(s)

productName

productName : 

Type(s)

privacyAccepted

privacyAccepted : 

Type(s)

attributeIds

attributeIds : 

Type(s)

propertyValueIds

propertyValueIds : 

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)