OXID eShop CE  4.9.7
 All Classes Files Functions Variables Pages
oxStr Class Reference
+ Collaboration diagram for oxStr:

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).

Definition at line 11 of file oxstr.php.

Constructor & Destructor Documentation

oxStr::__construct ( )

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


Definition at line 26 of file oxstr.php.

Member Function Documentation

oxStr::_getStrHandler ( )

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


Definition at line 52 of file oxstr.php.

static oxStr::getStr ( )

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


Definition at line 35 of file oxstr.php.

Member Data Documentation


Definition at line 19 of file oxstr.php.

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