xplo.re Medusa Core Framework 3.2
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Event
  • Todo
  • Download

Namespaces

  • Core
    • Authentication
      • Auto
        • Driver
      • Driver
    • Cache
      • Driver
    • Charset
      • Driver
    • Configuration
      • Driver
    • Controller
    • Converter
      • Driver
    • Decoder
      • Driver
    • Encoder
      • Driver
    • Env
      • Authentication
      • Locale
      • Proxy
      • Server
        • HTTP
        • Redirect
        • X
    • Exception
    • Exchange
      • Driver
    • Fault
      • Formatter
        • Driver
      • Incident
        • Exception
      • Reporter
        • Driver
    • Field
    • Filter
      • Driver
    • Formatter
      • Driver
        • coreuimarkup
          • Token
    • Hash
    • Loader
    • Locale
    • Log
      • Driver
    • Module
      • Dependency
        • Requirement
          • Core
          • PHP
      • Linkage
        • Driver
    • PDF
    • Plugin
    • Query
      • Driver
    • Server
      • Driver
    • Session
      • Driver
    • Set
    • Storage
      • Driver
      • Field
        • Element
    • Stream
      • Driver
    • String
    • Translation
      • Driver
      • Language
        • Driver
    • Type
    • URI
      • Driver
    • Version
    • View
      • Driver
        • coreui
          • Control
            • Button
            • Table
          • Element
        • htmlbuilder
          • Tags
        • yui
          • Modules
  • None
  • PHP

Classes

  • Iterator

Class Iterator

Iterator for Hash instances.

Core\Object implements Core\Chainable
Extended by Core\Set implements Core\Accessor
Extended by Core\Hash\Iterator implements Iterator
Namespace: Core\Hash
Package: Core\Hash
Since: 3.1
Requires: PHP 5.3
Version: 1.0
Located at Hash/Iterator.inc.php

Methods summary

public
# __construct( array & $array )

Parameters

$array
Array to create iterator for.

Since

3.1
public mixed
# current( )

Returns the current iteration value.

Returns the current iteration value.

Returns

mixed

Since

3.1

Implementation of

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

Returns the current iteration key.

Returns the current iteration key.

Returns

mixed

Since

3.1

Implementation of

Iterator::key()
public
# next( )

Moves internal iteration index to next position in array.

Moves internal iteration index to next position in array.

Since

3.1

Implementation of

Iterator::next()
public
# rewind( )

Resets iteration to the beginning of the array.

Resets iteration to the beginning of the array.

Since

3.1

Implementation of

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

Determines, whether the current array index is still valid.

Determines, whether the current array index is still valid.

Returns

boolean
true, if current array index is still valid, otherwise false.

Since

3.1

Implementation of

Iterator::valid()

Methods inherited from Core\Set

__get(), __isset()

Methods inherited from Core\Object

__autocreateFactory(), __call(), __processParameters(), __toString(), attachMethod(), chain(), getValueForKey(), getValueForKeyPath(), getValueForUndefinedKey(), hash(), issetValueForKey(), setValueForKey(), setValueForKeyPath(), setValueForUndefinedKey(), uuid()

Constants summary

Constants inherited from Core\Object

AnyParameterType, AutochainParameterType, AutocreateParameterType, BooleanParameterType, CharParameterType, EnumParameterType, IntegerParameterType, RealParameterType, StringParameterType, UserParameterType

Properties summary

protected array $_v_array

Array to iterate over.

Array to iterate over.

Since

3.1
#
protected mixed $_v_key

Current iteration key.

Current iteration key.

Since

3.1
#
protected array $_v_keys

Array keys.

Array keys.

Since

3.1
#

Magic properties

public read-only array $array

Array to iterate over.

public read-only mixed $key

Current iteration key.

public read-only array $keys

Array keys.

Magic properties inherited from Core\Object

$hash, $uuid

xplo.re Medusa Core Framework 3.2 API documentation generated by ApiGen