Overview

Namespaces

  • esperecyan
    • webidl
      • lib

Classes

  • Record
  • TypeError
  • TypeHinter

Interfaces

  • Error

Exceptions

  • ErrorClass
  • EvalError
  • RangeError
  • ReferenceError
  • URIError
  • Overview
  • Namespace
  • Class
  • Tree

Class Record

This ordered map corresponds to record on Web IDL type and is substituted for native PHP array that can’t use numeric keys as string.

esperecyan\webidl\Record implements Iterator, ArrayAccess
Namespace: esperecyan\webidl
Located at Record.php
Methods summary
public
# __construct( array $entries )

Parameters

$entries
public
# rewind( )

Implementation of

Iterator::rewind()
public
# next( )

Implementation of

Iterator::next()
public boolean
# valid( )

Returns

boolean

Implementation of

Iterator::valid()
public string
# key( )

Returns

string

Implementation of

Iterator::key()
public mixed
# current( )

Returns

mixed

Implementation of

Iterator::current()
public boolean
# offsetExists( string $offset )

Parameters

$offset

Returns

boolean

Implementation of

ArrayAccess::offsetExists()
public mixed
# offsetGet( string $offset )

Parameters

$offset

Returns

mixed

Implementation of

ArrayAccess::offsetGet()
public
# offsetSet( $offset, $value )

Parameters

$offset
$value

Implementation of

ArrayAccess::offsetSet()
public
# offsetUnset( $offset )

Parameters

$offset

Implementation of

ArrayAccess::offsetUnset()
public boolean
# __isset( string $name )

Parameters

$name

Returns

boolean
public mixed
# __get( string $name )

Parameters

$name

Returns

mixed
public
# __set( $name, $value )

Parameters

$name
$value
public
# __unset( $name )

Parameters

$name
Properties summary
protected mixed[][] $entries
# []
protected string[] $keys
# []
protected mixed[] $values
# []
esperecyan/webidl documentation API documentation generated by ApiGen