src/ngrest/render/RenderCrud.php
public function generateDownloadAttributes()
    {
        $attributes = [];
        foreach ($this->model->attributes() as $key) {
            $attributes[$key] = $this->model->getAttributeLabel($key) . ' ('.$key.')';
        }
        
        return $attributes;
    }
public function generateDownloadAttributes()
    {
        $attributes = [];
        foreach ($this->model->attributes() as $key) {
            $attributes[$key] = $this->model->getAttributeLabel($key) . ' ('.$key.')';
        }
        
        return $attributes;
    }
public function generateDownloadAttributes ( ) { $ attributes = [ ] ; foreach ( $ this -> model -> attributes ( ) as $ key ) { $ attributes [ $ key ] = $ this -> model -> getAttributeLabel ( $ key ) . ' (' . $ key . ')' ; } return $ attributes ; }
Generates an array with all attributes an the corresponding label.

@return array
@since 1.2.2
Generates an array with all attributes an the corresponding label .