Welcome to the Cookbook

loading...

8.5 Set

There is no translation yet for this section. Please help out and translate this.. More information about translations

Array management, if done right, can be a very powerful and useful tool for building smarter, more optimized code. CakePHP offers a very useful set of static utilities in the Set class that allow you to do just that.

CakePHP's Set class can be called from any model or controller in the same way Inflector is called. Example: Set::combine().