Skip to content

Instantly share code, notes, and snippets.

@samsoir
Created May 11, 2010 11:13
Show Gist options
  • Select an option

  • Save samsoir/397187 to your computer and use it in GitHub Desktop.

Select an option

Save samsoir/397187 to your computer and use it in GitHub Desktop.
<?php
$statuses = ORM::factory('status')->find_all()->as_array();
$multi_array = array();
foreach ($statuses as $key => $value)
{
$multi_array[$key] = $value->as_array();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment