# $ordersPage->code()

> Filters the Files collection by type code

- Source: `src/Cms/HasFiles.php#L32` <https://github.com/getkirby/kirby/blob/6.0.0-beta.1/src/Cms/HasFiles.php#L32>
- Inherited from Kirby, not part of the Merx API. See <https://getkirby.com/docs/reference>.

```php
$ordersPage->code(): Kirby\Cms\Files
```

## Return type

`Kirby\Cms\Files`

## Parent class

`Wagnerwagner\Merx\OrdersPage` inherited from `Kirby\Cms\Page`
