src/Helpers/FormHelper.php
public function addMetaField(array $fields)
    {
        $this->setMeta($this->constructFieldMeta($fields));
        $fields[static::Meta] = array(
            'type' => 'hidden',
            'value' => json_encode($this->getMeta()),
        );
        return $fields;
    }
public function addMetaField(array $fields)
    {
        $this->setMeta($this->constructFieldMeta($fields));
        $fields[static::Meta] = array(
            'type' => 'hidden',
            'value' => json_encode($this->getMeta()),
        );
        return $fields;
    }
public function addMetaField ( array $ fields ) { $ this -> setMeta ( $ this -> constructFieldMeta ( $ fields ) ) ; $ fields [ static :: Meta ] = array ( 'type' => 'hidden' , 'value' => json_encode ( $ this -> getMeta ( ) ) , ) ; return $ fields ; }
Returns the keys of the fields in the given array.

Internal method, do not call directly.

@param array[] $fields

@return array
Array of key names, keyed by these names.
Returns the keys of the fields in the given array .