public static function find($type = 'all', array $options = array())
{
switch ($type) {
case 'first':
return new Document(array('data' => array('_id' => 2, 'name' => 'Two', 'content' => 'Lorem ipsum two'), 'model' => __CLASS__));
break;
case 'all':
default:
return new DocumentSet(array('data' => array(array('_id' => 1, 'name' => 'One', 'content' => 'Lorem ipsum one'), array('_id' => 2, 'name' => 'Two', 'content' => 'Lorem ipsum two'), array('_id' => 3, 'name' => 'Three', 'content' => 'Lorem ipsum three')), 'model' => __CLASS__));
break;
}
}