Jump to content

Comprendre getPageLink() attribut


Recommended Posts

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

 

 

Link to comment
Share on other sites

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)

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...