public function getEditFieldsArrays($override = false)
    {
        $return = array();

        foreach ($this->getEditFields(true, $override) as $fieldObject) {
            $return[$fieldObject->getOption('field_name')] = $fieldObject->getOptions();
        }

        //get the key field if this is a model page
        if ($this->config->getType() === 'model') {
            $this->fillKeyField($return);
        }

        return $return;
    }
public function getEditFieldsArrays($override = false)
    {
        $return = array();

        foreach ($this->getEditFields(true, $override) as $fieldObject) {
            $return[$fieldObject->getOption('field_name')] = $fieldObject->getOptions();
        }

        //get the key field if this is a model page
        if ($this->config->getType() === 'model') {
            $this->fillKeyField($return);
        }

        return $return;
    }
public function getEditFieldsArrays ( $ override = false ) { $ return = array ( ) ; foreach ( $ this -> getEditFields ( true , $ override ) as $ fieldObject ) { $ return [ $ fieldObject -> getOption ( 'field_name' ) ] = $ fieldObject -> getOptions ( ) ; } //get the key field if this is a model page if ( $ this -> config -> getType ( ) === 'model' ) { $ this -> fillKeyField ( $ return ) ; } return $ return ; }
Gets the array version of the edit fields objects.

@param bool $override //this will override the cached version if set to true

@return array
Gets the array version of the edit fields objects .