Overview

Namespaces

  • Net
    • Bazzline
      • Propel
        • Behavior
          • EntityInstantiator
  • None

Classes

  • AbstractEntity
  • Configuration
  • EntityCollection
  • FileContentGenerator
  • Manager
  • ObjectEntity
  • QueryEntity
  • Overview
  • Namespace
  • Class

Class EntityCollection

Net\Bazzline\Propel\Behavior\EntityInstantiator\EntityCollection implements ArrayAccess, Countable, Iterator
Namespace: Net\Bazzline\Propel\Behavior\EntityInstantiator
Located at EntityCollection.php
Methods summary
public
# __construct( )
public
# add( Net\Bazzline\Propel\Behavior\EntityInstantiator\AbstractEntity $entity )

Parameters

$entity

Throws

InvalidArgumentException
public boolean
# offsetExists( mixed $offset )

Whether a offset exists

Whether a offset exists

Parameters

$offset

An offset to check for.

Returns

boolean

true on success or false on failure.

<

p> The return value will be casted to boolean if non-boolean was returned.

Since

5.0.0

Link

http://php.net/manual/en/arrayaccess.offsetexists.php

Implementation of

ArrayAccess::offsetExists()
public mixed
# offsetGet( mixed|Net\Bazzline\Propel\Behavior\EntityInstantiator\AbstractEntity $offset )

Offset to retrieve

Offset to retrieve

Parameters

$offset

The offset to retrieve.

Returns

mixed
Can return all value types.

Since

5.0.0

Link

http://php.net/manual/en/arrayaccess.offsetget.php

Implementation of

ArrayAccess::offsetGet()
public
# offsetSet( mixed $offset, mixed|Net\Bazzline\Propel\Behavior\EntityInstantiator\AbstractEntity $value )

Offset to set

Offset to set

Parameters

$offset

The offset to assign the value to.

$value

The value to set.

Since

5.0.0

Link

http://php.net/manual/en/arrayaccess.offsetset.php

Implementation of

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

Offset to unset

Offset to unset

Parameters

$offset

The offset to unset.

Since

5.0.0

Link

http://php.net/manual/en/arrayaccess.offsetunset.php

Implementation of

ArrayAccess::offsetUnset()
public integer
# count( )

Count elements of an object

Count elements of an object

Returns

integer

The custom count as an integer.

<

p> The return value is cast to an integer.

Since

5.1.0

Link

http://php.net/manual/en/countable.count.php

Implementation of

Countable::count()
public mixed|Net\Bazzline\Propel\Behavior\EntityInstantiator\AbstractEntity
# current( )

Return the current element

Return the current element

Returns

mixed|Net\Bazzline\Propel\Behavior\EntityInstantiator\AbstractEntity
Can return any type.

Since

5.0.0

Link

http://php.net/manual/en/iterator.current.php

Implementation of

Iterator::current()
public
# next( )

Move forward to next element

Move forward to next element

Returns


Any returned value is ignored.

Since

5.0.0

Link

http://php.net/manual/en/iterator.next.php

Implementation of

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

Return the key of the current element

Return the key of the current element

Returns

mixed
scalar on success, or null on failure.

Since

5.0.0

Link

http://php.net/manual/en/iterator.key.php

Implementation of

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

Checks if current position is valid

Checks if current position is valid

Returns

boolean

The return value will be casted to boolean and then evaluated. Returns true on success or false on failure.

Since

5.0.0

Link

http://php.net/manual/en/iterator.valid.php

Implementation of

Iterator::valid()
public
# rewind( )

Rewind the Iterator to the first element

Rewind the Iterator to the first element

Returns


Any returned value is ignored.

Since

5.0.0

Link

http://php.net/manual/en/iterator.rewind.php

Implementation of

Iterator::rewind()
PHP EntityInstantiator Propel Behavior by bazzline.net API documentation generated by ApiGen