Метод | Описание | |
---|---|---|
getCategoryLink ( mixed $category, string $alias = null, integer $id_lang = null, string $selected_filters = null, $id_shop = null, $relative_protocol = false ) : string | Create a link to a category. | |
getPaginationLink ( string $type, integer $id_object, boolean $nb = false, boolean $sort = false, boolean $pagination = false, boolean $array = false ) | Get pagination link. |
public getCategoryLink ( mixed $category, string $alias = null, integer $id_lang = null, string $selected_filters = null, $id_shop = null, $relative_protocol = false ) : string | ||
$category | mixed | Category object (can be an ID category, but deprecated) |
$alias | string | |
$id_lang | integer | |
$selected_filters | string | Url parameter to autocheck filters of the module blocklayered |
Результат | string |
public getPaginationLink ( string $type, integer $id_object, boolean $nb = false, boolean $sort = false, boolean $pagination = false, boolean $array = false ) | ||
$type | string | Controller name |
$id_object | integer | |
$nb | boolean | Show nb element per page attribute |
$sort | boolean | Show sort attribute |
$pagination | boolean | Show page number attribute |
$array | boolean | If false return an url, if true return an array |