Revision #3 was created by Woil on Mar 8, 2011, 1:13:24 AM.
minor change to update for current Yii version
Content
[...]
* Handles the ordering of models.
*/
public function actionOrder()
{
// Handle the POST request data submission
if (Yii::app()->request->isPostRequest && isset($_POST['Order']))
{
// Since we converted the Javascript array to a string,
// convert the string back to a PHP array
$models = explode(',', $_POST['Order']);