Back to Phoca Cart project (class list)

Class PhocacartUtils - 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/utils/utils.php
Project: Phoca Cart

Method Summary

public static
(mixed $task = '')

Show source code of this method: setVars Source Code

public static
(mixed $component = 'com_phocacart')

Show source code of this method: getPhocaVersion Source Code

public static
(mixed $alias)

Show source code of this method: getAliasName Source Code

public static
(mixed $new = '', mixed $current = '')

Show source code of this method: setMessage Source Code

public static
(mixed $mode = 1)

Show source code of this method: getInfo Source Code

public static
(mixed $type = 'token')

Show source code of this method: getToken Source Code

public static
(mixed $url)

Show source code of this method: isURLAddress Source Code

public static
(mixed $value, mixed $precision = 2)

Show source code of this method: round Source Code

public static
(mixed $length = '')

Show source code of this method: getRandomString Source Code

public static
(mixed $string, mixed $length, mixed $end)

Show source code of this method: wordDelete Source Code

public static
(mixed $string, mixed $length, mixed $end = '...')

Show source code of this method: wordDeleteWhole Source Code

public static
(mixed $input)

Show source code of this method: strTrimAll Source Code

public static
(mixed $string)

Show source code of this method: convertEncoding Source Code

public static
(mixed $text)

Show source code of this method: removeUtf8Bom Source Code

public static
()

Show source code of this method: getIp Source Code

public static
(mixed $str)

Show source code of this method: StripHiddenChars Source Code

public static
(mixed $parameter, mixed $value = '')

Show source code of this method: setOptionParameter Source Code

public static
(mixed $status)

Show source code of this method: setWizard Source Code

public static
(mixed $type)

Show source code of this method: doesExist Source Code

public static
(mixed $version)

Show source code of this method: isJCompatible Source Code

public static
(mixed $count = 16384)

Show source code of this method: setConcatCharCount Source Code

public static
()

Show source code of this method: issetMessage Source Code

public static
(mixed $date, mixed $format = '')

Show source code of this method: date Source Code

public static
()

Show source code of this method: getComponentParameters Source Code

public static
(mixed $item)

Show source code of this method: replaceCommaWithPoint Source Code

public static
(mixed $string)

Show source code of this method: getIntFromString Source Code

public static
(mixed $value = '')

Show source code of this method: getNullFromEmpty Source Code

public static
(mixed $string)

Show source code of this method: getDateFromString Source Code

public static
(mixed $string)

Show source code of this method: getDecimalFromString Source Code

public static
(mixed $item)

Show source code of this method: getStringFromItem Source Code

public static
()

Show source code of this method: getDefaultTemplate Source Code

public static
(mixed $html)

Show source code of this method: cleanExternalHtml Source Code

public static
(mixed $url)

Show source code of this method: curl_get_contents Source Code

public static
(mixed $string, mixed $separator = ' - ')

Show source code of this method: addSeparator Source Code

public static
(mixed $viewToCheck = '')

Show source code of this method: isView Source Code

public static
(mixed $viewToCheck = '')

Show source code of this method: isTypeView Source Code

public static
(mixed $controllerToCheck = '')

Show source code of this method: isController Source Code

public static
(mixed $date)

Show source code of this method: validateDate Source Code

public static
(mixed $weight, mixed $unit)

Show source code of this method: convertWeightToKg Source Code

public static
(mixed $weight, mixed $unit)

Show source code of this method: convertWeightFromKg Source Code

public static
(mixed $text)

Show source code of this method: getNumberFromText Source Code