Overview

Packages

  • None
  • PHPShopArray
  • PHPShopClass
    • Helper
  • PHPShopCore
  • PHPShopElements
  • PHPShopGUI
  • PHPShopInc
  • PHPShopObj
  • PHPShopParser
  • PHPShopTest

Classes

  • PHPShopDate
  • PHPShopSecurity
  • PHPShopString
  • PHPShopText
  • Overview
  • Package
  • Class

Class PHPShopString

Библиотека форматирования строк

Package: PHPShopClass\Helper
Author: PHPShop Software
Version: 1.7
Located at phpshop/class/string.class.php
Methods summary
public static string
# win_utf8( string $in_text )

Кодировка Win 1251 в UTF8

Кодировка Win 1251 в UTF8

Parameters

$in_text

Returns

string
public static string
# utf8_win1251( string $s )

Кодирование utf8 в win1251

Кодирование utf8 в win1251

Parameters

$s
строка

Returns

string
public static string
# toLatin( string $str )

Перевод в латиницу

Перевод в латиницу

Parameters

$str

Returns

string
public static
# mySubstr( $str, $a )
public static float
# toFloat( float $price, boolean $direct = false )

Форматирование цены для Excel

Форматирование цены для Excel

Parameters

$price
цена
$direct
обратная замена

Returns

float
public static string
# getBrowser( string $agent = false )

Определение версии браузера

Определение версии браузера

Parameters

$agent
HTTP_USER_AGENT

Returns

string
API documentation generated by ApiGen