开发者

Sorting an array arbitrarily in cakephp

I have an array which is dynamic, and key and values开发者_Python百科 are displaying in order if they are set. I want to display keys of this array in my own order, What kind of condition must I write in this case?


Take a look at the Core Utility Libraries, namely the sort() method of the Set class. Check for more info the cookbook.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜