- Class name: HelperViewCore
- Parent class: Helper
- Source: classes/helper/HelperView.php line 27
- $id
- $table
- $title
- $token
- $toolbar
- $base_folder
- $base_tpl
- $bootstrap
- $context
- $currentIndex
- $identifier
- $module
- $override_folder
- $ps_help_context
- $show_toolbar
- $toolbar_btn
- $toolbar_scroll
- $tpl
- $tpl_vars
- __construct
- createTemplate
- generate
- generateView
- l
- renderAdminCategorieTree
- renderCategoryTree
- renderModulesList
- renderRequiredFields
- renderShopList
- setTpl
public mixed $id
- Visibility: public
- Source: classes/helper/HelperView.php line 29.
public mixed $table
- Visibility: public
- Source: classes/helper/HelperView.php line 31.
public \if $title = null
- Visibility: public
- Source: classes/helper/HelperView.php line 35.
public mixed $token
- Visibility: public
- Source: classes/helper/HelperView.php line 32.
public mixed $toolbar = true
- Visibility: public
- Source: classes/helper/HelperView.php line 30.
public string $base_folder
- Visibility: public
- This property is defined by HelperCore.
- Source: classes/helper/Helper.php line 47.
public string $base_tpl = 'content.tpl'
- Visibility: public
- This property is defined by HelperCore.
- Source: classes/helper/Helper.php line 60.
public mixed $bootstrap = false
- Visibility: public
- This property is defined by HelperCore.
- Source: classes/helper/Helper.php line 39.
public mixed $context
- Visibility: public
- This property is defined by HelperCore.
- Source: classes/helper/Helper.php line 37.
public mixed $currentIndex
- Visibility: public
- This property is defined by HelperCore.
- Source: classes/helper/Helper.php line 29.
public mixed $identifier
- Visibility: public
- This property is defined by HelperCore.
- Source: classes/helper/Helper.php line 31.
public \Module $module
- Visibility: public
- This property is defined by HelperCore.
- Source: classes/helper/Helper.php line 44.
public string $override_folder
- Visibility: public
- This property is defined by HelperCore.
- Source: classes/helper/Helper.php line 50.
public mixed $ps_help_context
- Visibility: public
- This property is defined by HelperCore.
- Source: classes/helper/Helper.php line 34.
public mixed $show_toolbar = true
- Visibility: public
- This property is defined by HelperCore.
- Source: classes/helper/Helper.php line 36.
public mixed $toolbar_btn
- Visibility: public
- This property is defined by HelperCore.
- Source: classes/helper/Helper.php line 33.
public mixed $toolbar_scroll = false
- Visibility: public
- This property is defined by HelperCore.
- Source: classes/helper/Helper.php line 38.
protected \smartyTemplate $tpl
- Visibility: protected
- This property is defined by HelperCore.
- Source: classes/helper/Helper.php line 55.
public mixed $tpl_vars = array()
- Visibility: public
- This property is defined by HelperCore.
- Source: classes/helper/Helper.php line 62.
mixed HelperViewCore::__construct()
- Visibility: public
- Source: classes/helper/HelperView.php line 37
\Template HelperCore::createTemplate(string $tpl_name)
Create a template from the override file, else from the base file.
- Visibility: public
- This method is defined by HelperCore.
- Source: classes/helper/Helper.php line 80
- $tpl_name string - filename
string HelperCore::generate()
default behaviour for helper is to return a tpl fetched
- Visibility: public
- This method is defined by HelperCore.
- Source: classes/helper/Helper.php line 111
mixed HelperViewCore::generateView()
- Visibility: public
- Source: classes/helper/HelperView.php line 44
string HelperCore::l(mixed $string, string $class, \boolan $addslashes, boolean $htmlentities)
use translations files to replace english expression.
- Visibility: protected
- This method is defined by HelperCore.
- Source: classes/helper/Helper.php line 300
- $string mixed - term or expression in english
- $class string
- $addslashes boolan - if set to true, the return value will pass through addslashes(). Otherwise, stripslashes().
- $htmlentities boolean - if set to true(default), the return value will pass through htmlentities($string, ENT_QUOTES, 'utf-8')
mixed HelperCore::renderAdminCategorieTree($translations, $selected_cat, $input_name, $use_radio, $use_search, $disabled_categories, $use_in_popup)
- Visibility: public
- This method is static.
- This method is defined by HelperCore.
- Source: classes/helper/Helper.php line 120
- $translations mixed
- $selected_cat mixed
- $input_name mixed
- $use_radio mixed
- $use_search mixed
- $disabled_categories mixed
- $use_in_popup mixed
string HelperCore::renderCategoryTree(array $root, \type $selected_cat, string $input_name, boolean $use_radio, boolean $use_search, array $disabled_categories, boolean $use_in_popup, boolean $use_shop_context)
- Visibility: public
- This method is defined by HelperCore.
- Source: classes/helper/Helper.php line 168
- $root array - array with the name and ID of the tree root category, if null the Shop's root category will be used
- $selected_cat type - array of selected categories Format Array ( [0] => 1 [1] => 2 ) OR Array ( [1] => Array ( [id_category] => 1 [name] => Home page ) )
- $input_name string - name of input
- $use_radio boolean - use radio tree or checkbox tree
- $use_search boolean - display a find category search box
- $disabled_categories array
- $use_in_popup boolean
- $use_shop_context boolean
mixed HelperCore::renderModulesList($modules_list)
- Visibility: public
- This method is defined by HelperCore.
- Source: classes/helper/Helper.php line 347
- $modules_list mixed
string HelperCore::renderRequiredFields(string $class_name, string $identifier, array $table_fields)
Render a form with potentials required fields
- Visibility: public
- This method is defined by HelperCore.
- Source: classes/helper/Helper.php line 318
- $class_name string
- $identifier string
- $table_fields array
mixed HelperCore::renderShopList()
- Visibility: public
- This method is static.
- This method is defined by HelperCore.
- Source: classes/helper/Helper.php line 364
mixed HelperCore::setTpl($tpl)
- Visibility: public
- This method is defined by HelperCore.
- Source: classes/helper/Helper.php line 69
- $tpl mixed