romaboula Posted May 8, 2014 Posted May 8, 2014 Bonjour, Je n'arrive à comprendre à quoi servent les attributs dans un <a href="">. Par exemple, je suis dans le blockcart.tpl et il y a ce lien href = "{$link->getPageLink('cart', true, NULL, "delete=1&id_product={$product.id_product|intval}&ipa={$product.id_product_attribute|intval}&id_customization={$id_customization}&token={$static_token}", true)|escape:'html'}" Ce que je cherche à comprendre, à quoi servent le 'true', 'NULL', et encore 'true'... merci Share this post Link to post Share on other sites More sharing options...
Vinum Posted May 9, 2014 Posted May 9, 2014 Bonjour, Lorsque l'on cherche des infos sur une fonction, il suffit de regarder dans la classe qui l'appelle.Dans ton cas, il faut regarder dans classes/Link.php et tu as toutes les infos sur la fonction : getPageLink($controller, $ssl = null, $id_lang = null, $request = null, $request_url_encode = false, $id_shop = null) Share this post Link to post Share on other sites More sharing options...
romaboula Posted May 9, 2014 Posted May 9, 2014 merci PrestaShop Addict, c'est ce dont j'avais besoin de comprendre. Share this post Link to post Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now