Model/ExtendedFieldModel.php
public function getExtendedFields()
    {
        $result = [];
        $fields = $this->getEntities(
            [
                'filter'         => [
                    'where' => [
                        [
                            'expr' => 'orX',
                            'val'  => [
                                ['column' => 'f.object', 'expr' => 'eq', 'value' => 'extendedField'],
                                ['column' => 'f.object', 'expr' => 'eq', 'value' => 'extendedFieldSecure'],
                            ],
                        ],
                    ],
                ],
                'hydration_mode' => 'HYDRATE_ARRAY',
            ]
        );
        foreach ($fields as $field) {
            $result[$field['alias']] = $field;
        }

        return $result;
    }
public function getExtendedFields()
    {
        $result = [];
        $fields = $this->getEntities(
            [
                'filter'         => [
                    'where' => [
                        [
                            'expr' => 'orX',
                            'val'  => [
                                ['column' => 'f.object', 'expr' => 'eq', 'value' => 'extendedField'],
                                ['column' => 'f.object', 'expr' => 'eq', 'value' => 'extendedFieldSecure'],
                            ],
                        ],
                    ],
                ],
                'hydration_mode' => 'HYDRATE_ARRAY',
            ]
        );
        foreach ($fields as $field) {
            $result[$field['alias']] = $field;
        }

        return $result;
    }
public function getExtendedFields ( ) { $ result = [ ] ; $ fields = $ this -> getEntities ( [ 'filter' => [ 'where' => [ [ 'expr' => 'orX' , 'val' => [ [ 'column' => 'f.object' , 'expr' => 'eq' , 'value' => 'extendedField' ] , [ 'column' => 'f.object' , 'expr' => 'eq' , 'value' => 'extendedFieldSecure' ] , ] , ] , ] , ] , 'hydration_mode' => 'HYDRATE_ARRAY' , ] ) ; foreach ( $ fields as $ field ) { $ result [ $ field [ 'alias' ] ] = $ field ; } return $ result ; }
Method used to get a whitelist of extended fields for query consideration.

@return array
Method used to get a whitelist of extended fields for query consideration .