Sgss_Font_Panose_Abstract 

Description

Implements:
ArrayAccess (internal interface), Iterator (internal interface)
Author:
Matsuda Shota
Copyright:
(c) 2007-2008 Matsuda Shota
License:
http://creativecommons.org/licenses/GPL/2.0/
Located in:
/Font/Panose/Abstract.php (line 38)

Direct descendants

Sgss_Font_Panose_Kind2
Sgss_Font_Panose_Kind3
Sgss_Font_Panose_Kind4
Sgss_Font_Panose_Kind5

Class overview

Variable

protected array $_value

Methods

protected __construct (array $value)

The constructor

mixed current ()
static Sgss_Font_Panose_Abstract|null factory (array $value)
string|null getClassName (int $digit)
string getFamilyKind ()
int getValue (int $digit)
string|null getValueName (int $digit)
mixed key ()
mixed next ()
boolean offsetExists (mixed $offset)
mixed offsetGet (mixed $offset)
mixed offsetSet (mixed $offset, mixed $value)
void offsetUnset (mixed $offset)
void rewind ()
boolean valid ()
string __toString ()

Variable detail

$_value 

Signature:
protected array $_value


Method detail

__construct 

The constructor

Parameters:
  • array $value
Signature:
protected __construct (array $value)


current

Specified by:
  • Iterator::current
Uses:
Sgss_Font_Panose_Abstract::valid(), Sgss_Collection_List_Interface::get()
Used by:
Sgss_Font_Panose_Abstract::next()
Related subject:
Iterator::current()
Signature:
public mixed current ()


factory 

Parameters:
  • array $value
Signature:
public static Sgss_Font_Panose_Abstract|null factory (array $value)


getClassName

Parameters:
  • int $digit
Signature:
public string|null getClassName (int $digit)


getFamilyKind

Signature:
public string getFamilyKind ()


getValue

Parameters:
  • int $digit
Signature:
public int getValue (int $digit)


getValueName

Parameters:
  • int $digit
Signature:
public string|null getValueName (int $digit)


key

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


next

Specified by:
  • Iterator::next
Uses:
Sgss_Font_Panose_Abstract::current()
Related subject:
Iterator::next()
Signature:
public mixed next ()


offsetExists

Parameters:
  • mixed $offset
Specified by:
  • ArrayAccess::offsetExists
Related subject:
ArrayAccess::offsetExists()
Signature:
public boolean offsetExists (mixed $offset)


offsetGet

Parameters:
  • mixed $offset
Specified by:
  • ArrayAccess::offsetGet
Related subject:
ArrayAccess::offsetGet()
Signature:
public mixed offsetGet (mixed $offset)


offsetSet

Parameters:
  • mixed $offset
  • mixed $value
Specified by:
  • ArrayAccess::offsetSet
Related subject:
ArrayAccess::offsetSet()
Signature:
public mixed offsetSet (mixed $offset, mixed $value)


offsetUnset

Parameters:
  • mixed $offset
Specified by:
  • ArrayAccess::offsetUnset
Related subject:
ArrayAccess::offsetUnset()
Signature:
public void offsetUnset (mixed $offset)


rewind

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


valid

Specified by:
  • Iterator::valid
Uses:
Sgss_Collection_List_Interface::size()
Used by:
Sgss_Font_Panose_Abstract::current()
Related subject:
Iterator::valid()
Signature:
public boolean valid ()


__toString

Signature:
public string __toString ()