- Class name: ToolsCore
- Source: classes/Tools.php line 28
- ZipExtract
- ZipTest
- addCSS
- addJS
- apacheModExists
- cccCss
- cccJS
- ceilf
- checkPhpVersion
- clearCache
- completeMetaTags
- convertBytes
- convertPrice
- convertPriceFull
- d
- dateDays
- dateFormat
- dateFrom
- dateMonths
- dateTo
- dateYears
- deleteDirectory
- dieObject
- dieOrLog
- display404Error
- displayAsDeprecated
- displayDate
- displayError
- displayFileAsDeprecated
- displayParameterAsDeprecated
- displayPrice
- displayPriceSmarty
- enableCache
- encrypt
- fd
- file_exists_cache
- file_get_contents
- floorf
- generateHtaccess
- getAdminToken
- getAdminTokenLite
- getAdminTokenLiteSmarty
- getBrightness
- getCurrentUrlProtocolPrefix
- getFullPath
- getHomeMetaTags
- getHttpHost
- getIsset
- getMaxUploadSize
- getMediaServer
- getMemoryLimit
- getMetaTags
- getPath
- getProductsOrder
- getProtocol
- getRemoteAddr
- getServerName
- getShopDomain
- getShopDomainSsl
- getToken
- getValue
- hourGenerate
- htmlentitiesDecodeUTF8
- htmlentitiesUTF8
- iconv
- isCallable
- isEmpty
- isSubmit
- isX86_64arch
- jsonDecode
- jsonEncode
- link_rewrite
- minifyCSS
- minifyHTML
- minifyHTMLpregCallback
- nl2br
- orderbyPrice
- p
- pRegexp
- packJS
- packJSinHTML
- packJSinHTMLpregCallback
- parserSQL
- passwdGen
- property_exists
- ps_round
- redirect
- redirectAdmin
- redirectLink
- replaceAccentedChars
- replaceByAbsoluteURL
- restoreCacheSettings
- safeOutput
- safePostVars
- secureReferrer
- setCookieLanguage
- setCurrency
- simplexml_load_file
- str2url
- strReplaceFirst
- str_replace_once
- stripslashes
- strlen
- strtolower
- strtoupper
- substr
- switchLanguage
- throwDeprecated
- toCamelCase
- toUnderscoreCase
- truncate
- ucfirst
- url
- usingSecureMode
private mixed $_cache_nb_media_servers = null
- Visibility: private
- This property is static.
- Source: classes/Tools.php line 1437.
protected mixed $_caching
- Visibility: protected
- This property is static.
- Source: classes/Tools.php line 32.
protected mixed $_forceCompile
- Visibility: protected
- This property is static.
- Source: classes/Tools.php line 31.
public mixed $a
- Visibility: public
- This property is static.
- Source: classes/Tools.php line 1273.
protected mixed $file_exists_cache = array()
- Visibility: protected
- This property is static.
- Source: classes/Tools.php line 30.
boolean ToolsCore::ZipExtract($fromFile, $toDir)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1803
- $fromFile mixed
- $toDir mixed
boolean ToolsCore::ZipTest($fromFile)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1784
- $fromFile mixed
true ToolsCore::addCSS(mixed $css_uri, string $css_media_type)
addCSS allows you to add stylesheet at any time.
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1411
- $css_uri mixed
- $css_media_type string
void ToolsCore::addJS(mixed $js_uri)
addJS load a javascript file in the header
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1396
- $js_uri mixed
boolean ToolsCore::apacheModExists(string $name)
apacheModExists return true if the apache module $name is loaded
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 2008
- $name string - module name
mixed ToolsCore::cccCss($css_files)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1421
- $css_files mixed
mixed ToolsCore::cccJS($js_files)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1431
- $js_files mixed
mixed ToolsCore::ceilf($value, $precision)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1203
- $value mixed
- $precision mixed
string ToolsCore::checkPhpVersion()
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1764
mixed ToolsCore::clearCache(\objet $smarty)
Clear cache for Smarty
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1947
- $smarty objet
mixed ToolsCore::completeMetaTags($metaTags, $defaultValue, \Context $context)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 823
- $metaTags mixed
- $defaultValue mixed
- $context Context
integer ToolsCore::convertBytes(string $value)
Convert a shorthand byte value from a PHP configuration directive to an integer value
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1869
- $value string - value to convert
mixed ToolsCore::convertPrice(float $price, object $currency, boolean $to_currency, \Context $context)
Return price converted
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 443
- $price float - Product price
- $currency object - Current currency object
- $to_currency boolean - convert to currency or from currency to default currency
- $context Context
mixed ToolsCore::convertPriceFull(float $amount, \Currency $currency_from, \Currency $currency_to)
Convert amount from a currency to an other currency automatically
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 473
- $amount float
- $currency_from Currency - if null we used the default currency
- $currency_to Currency - if null we used the default currency
mixed ToolsCore::d(object $object, $kill)
ALIAS OF dieObject() - Display an error with detailed object
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 649
- $object object - Object to display
- $kill mixed
mixed ToolsCore::dateDays()
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1085
string ToolsCore::dateFormat(array $params, object $smarty)
Display date regarding to language preferences
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 512
- $params array - Date, format...
- $smarty object - Smarty object for language preferences
mixed ToolsCore::dateFrom($date)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1104
- $date mixed
mixed ToolsCore::dateMonths()
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1092
mixed ToolsCore::dateTo($date)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1112
- $date mixed
array ToolsCore::dateYears()
Generate date form
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1078
mixed ToolsCore::deleteDirectory(string $dirname, $delete_self)
Delete directory and subdirectories
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 576
- $dirname string - Directory name
- $delete_self mixed
\$object ToolsCore::dieObject(mixed $object, boolean $kill)
Display an error with detailed object
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 620
- $object mixed
- $kill boolean
\success ToolsCore::dieOrLog(string $msg, boolean $die)
Display error and dies or silently log the error.
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1924
- $msg string
- $die boolean
mixed ToolsCore::display404Error()
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1896
mixed ToolsCore::displayAsDeprecated($message)
Display a warning message indicating that the method is deprecated
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1636
- $message mixed
string ToolsCore::displayDate(string $date, integer $id_lang, boolean $full, string $separator)
Display date regarding to language preferences
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 526
- $date string - Date to display format UNIX
- $id_lang integer - Language id
- $full boolean - With time or not (optional)
- $separator string - DEPRECATED
mixed ToolsCore::displayError(string $string, boolean $htmlentities, \Context $context)
Display an error according to an error code
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 598
- $string string - Error message
- $htmlentities boolean - By default at true for parsing error message with htmlentities
- $context Context
mixed ToolsCore::displayFileAsDeprecated()
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1668
mixed ToolsCore::displayParameterAsDeprecated($parameter)
Display a warning message indicating that the parameter is deprecated
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1657
- $parameter mixed
string ToolsCore::displayPrice(float $price, object $currency, $no_utf8, \Context $context)
Return price with currency sign for a given product
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 379
- $price float - Product price
- $currency object - Current currency (object, id_currency, NULL => context currency)
- $no_utf8 mixed
- $context Context
mixed ToolsCore::displayPriceSmarty($params, $smarty)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 425
- $params mixed
- $smarty mixed
mixed ToolsCore::enableCache($level, \Context $context)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1688
- $level mixed
- $context Context
mixed ToolsCore::encrypt($passwd)
Encrypt password
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 842
- $passwd mixed
mixed ToolsCore::fd(object $object)
Display a var dump in firebug console
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 635
- $object object - Object to display
boolean ToolsCore::file_exists_cache(string $filename)
file_exists() wrapper with cache to speedup performance
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1235
- $filename string - File name
mixed ToolsCore::file_get_contents($url, $useIncludePath, $streamContext, $curlTimeOut)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1242
- $url mixed
- $useIncludePath mixed
- $streamContext mixed
- $curlTimeOut mixed
mixed ToolsCore::floorf($value, $precision)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1216
- $value mixed
- $precision mixed
mixed ToolsCore::generateHtaccess($path, $rewrite_settings, $cache_control, $specific, $disable_multiviews)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1458
- $path mixed
- $rewrite_settings mixed
- $cache_control mixed
- $specific mixed
- $disable_multiviews mixed
mixed ToolsCore::getAdminToken($string)
Encrypt password
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 867
- $string mixed
mixed ToolsCore::getAdminTokenLite($tab, \Context $context)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 872
- $tab mixed
- $context Context
mixed ToolsCore::getAdminTokenLiteSmarty($params, $smarty)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 879
- $params mixed
- $smarty mixed
mixed ToolsCore::getBrightness($hex)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1309
- $hex mixed
string ToolsCore::getCurrentUrlProtocolPrefix()
Get the current url prefix protocol (https/http)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 241
mixed ToolsCore::getFullPath($id_category, $end, $type_cat, \Context $context)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 958
- $id_category mixed
- $end mixed
- $type_cat mixed
- $context Context
array ToolsCore::getHomeMetaTags(integer $id_lang, $page_name)
Get meta tags for a given page
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 812
- $id_lang integer - Language id
- $page_name mixed
string ToolsCore::getHttpHost(boolean $http, boolean $entities)
getHttpHost return the current host used, with the protocol (http or https) if $http is true This function should not be used to choose http or https domain name.
Use Tools::getShopDomain() or Tools::getShopDomainSsl instead
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 141
- $http boolean
- $entities boolean
mixed ToolsCore::getIsset($key)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 281
- $key mixed
integer ToolsCore::getMaxUploadSize(integer $max_size)
Get max file upload size considering server settings and optional max value
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1989
- $max_size integer - optional max file size
mixed ToolsCore::getMediaServer($filename)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1439
- $filename mixed
integer ToolsCore::getMemoryLimit()
getMemoryLimit allow to get the memory limit in octet
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1958
array ToolsCore::getMetaTags(integer $id_lang, $page_name, $title)
Get meta tages for a given page
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 683
- $id_lang integer - Language id
- $page_name mixed
- $title mixed
mixed ToolsCore::getPath(integer $id_category, string $path, boolean $linkOntheLastItem, $categoryType, \Context $context)
Get the user's journey
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 893
- $id_category integer - Category ID
- $path string - Path end
- $linkOntheLastItem boolean - Put or not a link on the current category
- $categoryType mixed
- $context Context
mixed ToolsCore::getProductsOrder(string $type, string $value, $prefix)
Get products order field name for queries.
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1832
- $type string - by|way
- $value string - If no index given, use default order from admin -> pref -> products
- $prefix mixed
String ToolsCore::getProtocol($use_ssl)
getProtocol return the set protocol according to configuration (http[s])
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 127
- $use_ssl mixed
string ToolsCore::getRemoteAddr()
Get the server variable REMOTE_ADDR, or the first ip of HTTP_X_FORWARDED_FOR (when using proxy)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 204
string ToolsCore::getServerName()
Get the server variable SERVER_NAME
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 192
string ToolsCore::getShopDomain(boolean $http, boolean $entities)
getShopDomain returns domain name according to configuration and ignoring ssl
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 158
- $http boolean - if true, return domain name with protocol
- $entities boolean - if true,
string ToolsCore::getShopDomainSsl(boolean $http, boolean $entities)
getShopDomainSsl returns domain name according to configuration and depending on ssl activation
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 176
- $http boolean - if true, return domain name with protocol
- $entities boolean - if true,
mixed ToolsCore::getToken($page, \Context $context)
Get token to prevent CSRF
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 852
- $page mixed
- $context Context
mixed ToolsCore::getValue(string $key, mixed $defaultValue)
Get a value from $_POST / $_GET if unavailable, take a default value
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 270
- $key string - Value key
- $defaultValue mixed - (optional)
mixed ToolsCore::hourGenerate($hours, $minutes, $seconds)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1099
- $hours mixed
- $minutes mixed
- $seconds mixed
mixed ToolsCore::htmlentitiesDecodeUTF8($string)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 559
- $string mixed
mixed ToolsCore::htmlentitiesUTF8($string, $type)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 552
- $string mixed
- $type mixed
mixed ToolsCore::iconv($from, $to, $string)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1181
- $from mixed
- $to mixed
- $string mixed
mixed ToolsCore::isCallable($function)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1714
- $function mixed
mixed ToolsCore::isEmpty($field)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1188
- $field mixed
mixed ToolsCore::isSubmit(string $submit)
Check if submit has been posted
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 669
- $submit string - submit name
boolean ToolsCore::isX86_64arch()
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1978
array ToolsCore::jsonDecode(string $json, boolean $assoc)
jsonDecode convert json string to php array / object
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1603
- $json string
- $assoc boolean - (since 1.4.2.4) if true, convert to associativ array
string ToolsCore::jsonEncode(array $data)
Convert an array to json string
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1621
- $data array
string ToolsCore::link_rewrite(string $str, boolean $utf8_decode)
Return the friendly url from the provided string
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 990
- $str string
- $utf8_decode boolean - => needs to be marked as deprecated
mixed ToolsCore::minifyCSS($css_content, $fileuri)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1369
- $css_content mixed
- $fileuri mixed
mixed ToolsCore::minifyHTML($html_content)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1278
- $html_content mixed
mixed ToolsCore::minifyHTMLpregCallback($preg_matches)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1321
- $preg_matches mixed
string ToolsCore::nl2br($str)
Convert \n and \r\n and \r to
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1937
- $str mixed
mixed ToolsCore::orderbyPrice($array, $orderWay)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1169
- $array mixed
- $orderWay mixed
mixed ToolsCore::p(object $object)
ALIAS OF dieObject() - Display an error with detailed object but don't stop the execution
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 659
- $object object - Object to display
mixed ToolsCore::pRegexp($s, $delim)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1720
- $s mixed
- $delim mixed
mixed ToolsCore::packJS($js_content)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1348
- $js_content mixed
mixed ToolsCore::packJSinHTML($html_content)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1330
- $html_content mixed
mixed ToolsCore::packJSinHTMLpregCallback($preg_matches)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1339
- $preg_matches mixed
mixed ToolsCore::parserSQL($sql)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1355
- $sql mixed
string ToolsCore::passwdGen(integer $length)
Random password generator
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 40
- $length integer - Desired length (optional)
boolean ToolsCore::property_exists($class, string $property)
Function property_exists does not exist in PHP < 5.1
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1745
- $class mixed
- $property string
mixed ToolsCore::ps_round($value, $precision)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1193
- $value mixed
- $precision mixed
mixed ToolsCore::redirect(string $url, string $baseUri, \Link $link)
Redirect user to another page
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 58
- $url string - Desired URL
- $baseUri string - Base URI (optional)
- $link Link
mixed ToolsCore::redirectAdmin(string $url)
Redirect user to another admin page
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 116
- $url string - Desired URL
mixed ToolsCore::redirectLink(string $url)
Redirect url wich allready PS_BASE_URI
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 94
- $url string - Desired URL
string ToolsCore::replaceAccentedChars(string $str)
Replace all accented chars by their equivalent non accented chars.
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1029
- $str string
mixed ToolsCore::replaceByAbsoluteURL($matches)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1375
- $matches mixed
mixed ToolsCore::restoreCacheSettings(\Context $context)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1703
- $context Context
string ToolsCore::safeOutput(string $string, $html)
Sanitize a string
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 545
- $string string - String to sanitize
- $html mixed
mixed ToolsCore::safePostVars()
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 566
\secured ToolsCore::secureReferrer(string $referrer)
Secure an URL referrer
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 255
- $referrer string - URL referrer
string ToolsCore::setCookieLanguage($cookie)
Change language in cookie while clicking on a flag
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 293
- $cookie mixed
\Currency ToolsCore::setCurrency($cookie)
Set cookie currency from POST or default currency
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 350
- $cookie mixed
mixed ToolsCore::simplexml_load_file($url, $class_name)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1264
- $url mixed
- $class_name mixed
string ToolsCore::str2url(string $str)
Return a friendly url made from the provided string If the mbstring library is available, the output is the same as the js function of the same name
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1002
- $str string
mixed ToolsCore::strReplaceFirst($search, $replace, $subject, $cur)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 48
- $search mixed
- $replace mixed
- $subject mixed
- $cur mixed
mixed ToolsCore::str_replace_once($needle, $replace, $haystack)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1728
- $needle mixed
- $replace mixed
- $haystack mixed
mixed ToolsCore::stripslashes($string)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1139
- $string mixed
mixed ToolsCore::strlen($str, $encoding)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1129
- $str mixed
- $encoding mixed
mixed ToolsCore::strtolower($str)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1120
- $str mixed
mixed ToolsCore::strtoupper($str)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1146
- $str mixed
mixed ToolsCore::substr($str, $start, $length, $encoding)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1155
- $str mixed
- $start mixed
- $length mixed
- $encoding mixed
mixed ToolsCore::switchLanguage(\Context $context)
Set cookie id_lang
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 337
- $context Context
mixed ToolsCore::throwDeprecated($error, $message, $class)
- Visibility: protected
- This method is static.
- Source: classes/Tools.php line 1679
- $error mixed
- $message mixed
- $class mixed
mixed ToolsCore::toCamelCase($str, $capitaliseFirstChar)
Translates a string with underscores into camel case (e.g. first_name -> firstName)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1288
- $str mixed
- $capitaliseFirstChar mixed
string ToolsCore::toUnderscoreCase(string $string)
Transform a CamelCase string to underscore_case string
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1302
- $string string
mixed ToolsCore::truncate($str, $maxLen, $suffix)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1061
- $str mixed
- $maxLen mixed
- $suffix mixed
mixed ToolsCore::ucfirst($str)
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1164
- $str mixed
string ToolsCore::url(string $begin, string $end)
Concat $begin and $end, add ? or & between strings
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 1912
- $begin string
- $end string
boolean ToolsCore::usingSecureMode()
Check if the current page use SSL connection on not
- Visibility: public
- This method is static.
- Source: classes/Tools.php line 225