CakePHP Expose Examples

[Source]

The database field type is binary with a length of 16 (byte).

UUID shortening enabled:

You can switch the database Type class used here:

BinaryUuid ShortUuid

Table overview

List all exposed users in paginated list

Check a specific one

The following are ordered by name:

  • One [ID 975b7731-14ad-4858-9cf4-3215fa6cb95c]
  • Three [ID afe77d56-fabc-41aa-b1a6-6c8338746c24]
  • Two [ID d369b0ab-fb9f-4552-bda2-f9e166e735c9]

It is now not possible anymore to see the primary key, and thus the order of creation or linking of those to a count of records per time-frame.

Superimposed behavior

In some cases you don't want to modify all public actions and their templates. In that case you can use the superimpose functionality to map UUIDs to the primary key field on read, and the other way around on write.

CRUD actions through superimposed exposure


Send your feedback or bugreport!