Documentation

AssetCollectionIterator
in package
implements RecursiveIterator

Iterates over an asset collection.

The iterator is responsible for cascading filters and target URL patterns from parent to child assets.

Tags
author

Kris Wallsmith kris.wallsmith@gmail.com

Interfaces, Classes and Traits

RecursiveIterator

Table of Contents

$assets  : mixed
$clones  : mixed
$filters  : mixed
$output  : mixed
$vars  : mixed
__construct()  : mixed
current()  : AssetInterface
Returns a copy of the current asset with filters and a target URL applied.
getChildren()  : mixed
hasChildren()  : mixed
key()  : mixed
next()  : mixed
rewind()  : mixed
valid()  : mixed
removeDuplicateVar()  : mixed

Properties

Methods

current()

Returns a copy of the current asset with filters and a target URL applied.

public current([bool $raw = false ]) : AssetInterface
Parameters
$raw : bool = false

Returns the unmodified asset if true

Return values
AssetInterface

removeDuplicateVar()

private removeDuplicateVar(mixed $name) : mixed
Parameters
$name : mixed
Return values
mixed

Search results