Eno\Section » fieldsets

fieldsets($name) → array

Retrieve fieldsets with the specified name from this current section.

enoimage:
src = red-roses.jpg

image:
src = white-roses.jpg
php$document = Parser::parse($input);

$images = $document->fieldsets('image');

foreach($images as $image) {
  echo( $image->entry('src') );
});

Parameters

$name

A string specifying the name of the fieldsets to retrieve.

Return value

An array of Fieldsets.