/** * Returns a list of the names of all fields in the record. * * Only the field names are returned. If you need additional * information, examine the Layout object provided by the * parent object's {@link Result::getLayout()} method. * * @return array List of field names as strings. */ public function getFields() { return $this->layout->listFields(); }