public function getDataModelSettings()
    {
        if (! $this->exists) {
            return array();
        }

        $fieldSettings = array();

        foreach ($this->_fields as $key => $field) {
            if ($field instanceof FieldInterface) {
                $fieldSettings[$key] = $field->getDataModelSettings();
            }
        }

        return $fieldSettings;
    }
public function getDataModelSettings()
    {
        if (! $this->exists) {
            return array();
        }

        $fieldSettings = array();

        foreach ($this->_fields as $key => $field) {
            if ($field instanceof FieldInterface) {
                $fieldSettings[$key] = $field->getDataModelSettings();
            }
        }

        return $fieldSettings;
    }
public function getDataModelSettings ( ) { if ( ! $ this -> exists ) { return array ( ) ; } $ fieldSettings = array ( ) ; foreach ( $ this -> _fields as $ key => $ field ) { if ( $ field instanceof FieldInterface ) { $ fieldSettings [ $ key ] = $ field -> getDataModelSettings ( ) ; } } return $ fieldSettings ; }
Get a big array with model settings for fields in a track

@return array fieldname => array(settings)
Get a big array with model settings for fields in a track