PHP Class LeagueWrap\Dto\AbstractListDto

Inheritance: extends LeagueWrap\Dto\AbstractDto, implements ArrayAcces\ArrayAccess, implements IteratorAggregat\IteratorAggregate, implements Countabl\Countable
显示文件 Open project: paquettg/leaguewrap Class Usage Examples

Protected Properties

Property Type Description
$listKey

Public Methods

Method Description
count ( ) : integer Returns the count of the size of the list.
getIterator ( ) : ArrayIterator Returns the array iterator.
offsetExists ( mixed $offset ) : boolean Check if offset exists.
offsetGet ( mixed $offset ) : null Get the value at the given offset.
offsetSet ( mixed $offset, mixed $value ) Set a value at the given offset.
offsetUnset ( mixed $offset ) Remove a value at a given offset.

Protected Methods

Method Description
getListByKey ( ) : mixed Returns the list by key.

Method Details

count() public method

Returns the count of the size of the list.
public count ( ) : integer
return integer

getIterator() public method

Returns the array iterator.

getListByKey() protected method

Returns the list by key.
protected getListByKey ( ) : mixed
return mixed

offsetExists() public method

Check if offset exists.
public offsetExists ( mixed $offset ) : boolean
$offset mixed
return boolean

offsetGet() public method

Get the value at the given offset.
public offsetGet ( mixed $offset ) : null
$offset mixed
return null

offsetSet() public method

Set a value at the given offset.
public offsetSet ( mixed $offset, mixed $value )
$offset mixed
$value mixed

offsetUnset() public method

Remove a value at a given offset.
public offsetUnset ( mixed $offset )
$offset mixed

Property Details

$listKey protected_oe property

protected $listKey