Class Zend_Memory_Value

Description

Implements interfaces:

  • ArrayAccess (internal interface)

String value object

It's an OO string wrapper. Used to intercept string updates.

  • copyright: Copyright (c) 2005-2007 Zend Technologies USA Inc. (http://www.zend.com)
  • todo: also implement Countable for PHP 5.1 but not yet to stay 5.0 compatible
  • license: New BSD License

Located in /Memory/Value.php (line 32)


	
			
Method Summary
 Zend_Memory_Value __construct (string $value, Zend_Memory_Container_Movable $container)
 string &getRef ()
 boolean offsetExists (integer $offset)
 string offsetGet (integer $offset)
 void offsetSet (integer $offset, string $char)
 void offsetUnset (integer $offset)
 void startTrace ()
 string __toString ()
Methods
Constructor __construct (line 61)

Object constructor

  • access: public
Zend_Memory_Value __construct (string $value, Zend_Memory_Container_Movable $container)
getRef (line 157)

Get string value reference

_Must_ be used for value access before PHP v 5.2 or _may_ be used for performance considerations

  • access: public
string &getRef ()
offsetExists (line 86)

ArrayAccess interface method returns true if string offset exists

  • access: public
boolean offsetExists (integer $offset)
  • integer $offset

Implementation of:
ArrayAccess::offsetExists
offsetGet (line 98)

ArrayAccess interface method Get character at $offset position

  • access: public
string offsetGet (integer $offset)
  • integer $offset

Implementation of:
ArrayAccess::offsetGet
offsetSet (line 110)

ArrayAccess interface method Set character at $offset position

  • access: public
void offsetSet (integer $offset, string $char)
  • integer $offset
  • string $char

Implementation of:
ArrayAccess::offsetSet
offsetUnset (line 126)

ArrayAccess interface method Unset character at $offset position

  • access: public
void offsetUnset (integer $offset)
  • integer $offset

Implementation of:
ArrayAccess::offsetUnset
startTrace (line 170)

Start modifications trace

_Must_ be used for value access before PHP v 5.2 or _may_ be used for performance considerations

  • access: public
void startTrace ()
__toString (line 142)

To string conversion

  • access: public
string __toString ()

Documentation generated on Sun, 27 May 2007 23:28:24 -0700 by phpDocumentor 1.3.2