Eno\Section » fields
fields($name) → array
Retrieve fields with the specified name from this current section.
enocolor: blue
color: red
color: orange
php$document = Parser::parse($input);
$colors = $document->fields('color');
foreach($colors as $color) {
echo( $color->value() );
}
Parameters
$nameA string specifying the name of the fields to retrieve.
Return value
An array of Field
s.