OXID eShop CE  6.1.5
OxidEsales\EshopCommunity\Core\Str Class Reference
+ Collaboration diagram for OxidEsales\EshopCommunity\Core\Str:

Public Member Functions

 __construct ()
 

Static Public Member Functions

static getStr ()
 

Protected Member Functions

 _getStrHandler ()
 

Static Protected Attributes

static $_oHandler
 

Detailed Description

Factory class responsible for redirecting string handling functions to specific string handling class. String handler basically is intended for dealing with multibyte string and is NOT supposed to replace all string handling functions. We use the handler for shop data and user input, but prefer not to use it for ascii strings (eg. field or file names).

Constructor & Destructor Documentation

◆ __construct()

OxidEsales\EshopCommunity\Core\Str::__construct ( )

Class constructor. The constructor is defined in order to be possible to call parent::__construct() in modules.

Returns
null;

Member Function Documentation

◆ _getStrHandler()

OxidEsales\EshopCommunity\Core\Str::_getStrHandler ( )
protected

Non static getter returning str handler. The sense of getStr() and _getStrHandler() is to be possible to call this method statically ( \OxidEsales\Eshop\Core\StrgetStr() ), yet leaving the possibility to extend it in modules by overriding _getStrHandler() method.

Returns
oxStrRegular|oxStrMb

◆ getStr()

static OxidEsales\EshopCommunity\Core\Str::getStr ( )
static

Static method initializing new string handler or returning the existing one.

Returns
StrRegular|StrMb

Member Data Documentation

◆ $_oHandler

OxidEsales\EshopCommunity\Core\Str::$_oHandler
staticprotected

The documentation for this class was generated from the following file: