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.

Returns
null;

Definition at line 26 of file oxstr.php.

Member Function Documentation

oxStr::_getStrHandler ( )
protected

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.

Returns
object

Definition at line 52 of file oxstr.php.

static oxStr::getStr ( )
static

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

Returns
object

Definition at line 35 of file oxstr.php.

Member Data Documentation

oxStr::$_oHandler
staticprotected

Definition at line 19 of file oxstr.php.


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