Entities/Permissions/Model/Permission.php
public function getListViewFields(): array
    {
        return [
            'id' => $this->id,
            'title' => $this->title,
            'description' => $this->description,
            'roles' => $this->getRolesString(),
            'active' => Postgres::convertBoolToPostgresBool($this->active), // send 't' / 'f'
            'created' => $this->created->format('Y-m-d'),
        ];
    }
public function getListViewFields(): array
    {
        return [
            'id' => $this->id,
            'title' => $this->title,
            'description' => $this->description,
            'roles' => $this->getRolesString(),
            'active' => Postgres::convertBoolToPostgresBool($this->active), // send 't' / 'f'
            'created' => $this->created->format('Y-m-d'),
        ];
    }
public function getListViewFields ( ) : array { return [ 'id' => $ this -> id , 'title' => $ this -> title , 'description' => $ this -> description , 'roles' => $ this -> getRolesString ( ) , 'active' => Postgres :: convertBoolToPostgresBool ( $ this -> active ) , // send 't' / 'f' 'created' => $ this -> created -> format ( 'Y-m-d' ) , ] ; }
returns array of list view fields [fieldName => fieldValue]
returns array of list view fields [ fieldName = > fieldValue ]