1. write 'debug' //set debug to 0 for this function because debugging info breaks the XMLHttpRequest layout //this tells the controller to use the Ajax layout instead of the default layout (since we're using ajax . . .) $userArray array //this will hold our data from the database. $count findCount //counts the number of records in User. $userA findAll 'username ASC' //gets all the User records and sorts them by username alphabetically. $userArray extract $userA '{n}.User' //convert $userArray into (Read Full Article)

    Related Articles

Login to comment.

 
Home All Articles Entities Quotes Comments Login Register Powered by HiveFire