$currentIndex
$currentIndex :
renderAdminCategorieTree( $translations, $selected_cat = array(), $input_name = 'categoryBox', $use_radio = false, $use_search = false, $disabled_categories = array(), $use_in_popup = false)
$translations | ||
$selected_cat | ||
$input_name | ||
$use_radio | ||
$use_search | ||
$disabled_categories | ||
$use_in_popup |
renderCategoryTree(array $root = null, \type $selected_cat = array(), string $input_name = 'categoryBox', boolean $use_radio = false, boolean $use_search = false, array $disabled_categories = array(), boolean $use_in_popup = false, boolean $use_shop_context = false) : string
array | $root | array with the name and ID of the tree root category, if null the Shop's root category will be used |
\type | $selected_cat | array of selected categories Format Array ( [0] => 1 [1] => 2 ) OR Array ( [1] => Array ( [id_category] => 1 [name] => Home page ) ) |
string | $input_name | name of input |
boolean | $use_radio | use radio tree or checkbox tree |
boolean | $use_search | display a find category search box |
array | $disabled_categories | |
boolean | $use_in_popup | |
boolean | $use_shop_context |
None found |
renderRequiredFields(string $class_name, string $identifier, array $table_fields) : string
Render a form with potentials required fields
string | $class_name | |
string | $identifier | |
array | $table_fields |
None found |
l(mixed $string, string $class = 'AdminTab', \boolan $addslashes = false, boolean $htmlentities = true) : string
use translations files to replace english expression.
mixed | $string | term or expression in english |
string | $class | |
\boolan | $addslashes | if set to true, the return value will pass through addslashes(). Otherwise, stripslashes(). |
boolean | $htmlentities | if set to true(default), the return value will pass through htmlentities($string, ENT_QUOTES, 'utf-8') |
the translation if available, or the english default text.
None found |