Back to Phoca Cart project (class list)

Class PhocacartTag - list of methods

Copyright: Copyright (C) Jan Pavelka https://www.phoca.cz
License: http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 and later
Located at: Phocacart/tag/tag.php
Project: Phoca Cart

Method Summary

public static mixed|void|array
(mixed $itemId, mixed $select = 0)

Standard Tags - are displayed at the bottom
Parameters
  • int $itemId
  • \number $select
Returns
  • mixed|void|array
Show source code of this method: getTags Source Code

public static
(mixed $itemId)

Show source code of this method: getTagsSubmitItems Source Code

public static
(mixed $cids)

Show source code of this method: getTagsByIds Source Code

public static mixed|void|array
(mixed $itemId, mixed $select = 0)

Labels - are displayed at the top
Parameters
  • int $itemId
  • \number $select
Returns
  • mixed|void|array
Show source code of this method: getTagLabels Source Code

public static
(mixed $itemId)

Show source code of this method: getTagLabelsSubmitItems Source Code

public static
(mixed $cids)

Show source code of this method: getTagsLabelsByIds Source Code

public static mixed
(mixed $ordering = 1, mixed $onlyAvailableProducts = 0, mixed $type = 0, mixed $lang = '', mixed $filterProducts = array(), mixed $limitCount = -1)

Parameters
  • int $ordering
  • int $onlyAvailableProducts
  • int $type 0 ... tag, 1 ... label
  • string $lang
Returns
  • mixed
Show source code of this method: getAllTags Source Code

public static
(mixed $tagsArray, mixed $itemId)

Show source code of this method: storeTags Source Code

public static
(mixed $tagsArray, mixed $itemId)

Show source code of this method: storeTagLabels Source Code

public static
(mixed $order = 'id', mixed $type = 0)

Show source code of this method: getAllTagsList Source Code

public static
(mixed $name, mixed $id, mixed $activeArray, mixed $javascript = NULL, mixed $order = 'id', mixed $type = 0, mixed $attributes = '')

Show source code of this method: getAllTagsSelectBox Source Code

public static string
(mixed $itemId, mixed $type = 0, mixed $separator = '')

Parameters
  • int $itemId
  • \number $type 0 ... nothing, 1 ... tags only, 2 ... labels only, 3 ... tags and labels
Returns
  • string
Show source code of this method: getTagsRendered Source Code

public static
(mixed $type = 0)

Show source code of this method: getTagType Source Code

public static
(mixed $items, mixed $ordering)

Show source code of this method: getActiveTags Source Code

public static
(mixed $items, mixed $ordering)

Show source code of this method: getActiveLabels Source Code