Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
String value object
It's an OO string wrapper. Used to intercept string updates.
Zend_Memory_Container_Interface $_container = ''
Container
boolean $_trace = ''
Boolean flag which signals to trace value modifications
string $_value = ''
Value
__construct(
string $value, Zend_Memory_Container_Movable $container
)
:
Object constructor
__toString(
)
:
string
To string conversion
getRef(
)
:
string
Get string value reference
Must be used for value access before PHP v 5.2 or may be used for performance considerations
offsetExists(
integer $offset
)
:
boolean
ArrayAccess interface method returns true if string offset exists
offsetGet(
integer $offset
)
:
string
ArrayAccess interface method Get character at $offset position
offsetSet(
integer $offset, string $char
)
:
ArrayAccess interface method Set character at $offset position
offsetUnset(
integer $offset
)
:
ArrayAccess interface method Unset character at $offset position
startTrace(
)
:
Start modifications trace
Must be used for value access before PHP v 5.2 or may be used for performance considerations