Sgss_String_Iterator_Code
Iterates unicode codepoints inside the Sgss_String

Description

Implements:
Iterator (internal interface)
Author:
Matsuda Shota
Copyright:
(c) 2007-2008 Matsuda Shota
License:
http://creativecommons.org/licenses/GPL/2.0/
Located in:
/String/Iterator/Code.php (line 40)

Class overview

Methods

__construct (Sgss_String $string)

The constructor

mixed current ()
mixed key ()
mixed next ()
void rewind ()
boolean valid ()

Method detail

__construct

The constructor

Parameters:
Signature:
public __construct (Sgss_String $string)


current

Specified by:
  • Iterator::current
Uses:
Sgss_String::code()
Related subject:
Iterator::current()
Signature:
public mixed current ()


key

Specified by:
  • Iterator::key
Related subject:
Iterator::key()
Signature:
public mixed key ()


next

Specified by:
  • Iterator::next
Uses:
Sgss_String::code(), Sgss_String::length()
Related subject:
Iterator::next()
Signature:
public mixed next ()


rewind

Specified by:
  • Iterator::rewind
Related subject:
Iterator::rewind()
Signature:
public void rewind ()


valid

Specified by:
  • Iterator::valid
Uses:
Sgss_String::length()
Related subject:
Iterator::valid()
Signature:
public boolean valid ()