Skip to content

Kirby 6.0.0

$model->select()

$model->select(mixed $keys = null): Model

Parameters

Name Type Default Description
$keys mixed null Comma-separated string or array of keys, null for all keys, false to keep the selection

Return type

Kirby\Api\Model

This method modifies the existing $model object it is applied to and returns it again.

Exceptions

Type Description
Exception

Parent class

Kirby\Api\Model