Location: PHPKode > projects > LudoDB > ludoDB-master/Tests/classes/CarCollection.php
<?php
/**
 * User: Alf Magne Kalleland
 * Date: 19.12.12

 */
class CarCollection extends LudoDBCollection
{
    protected $config = array(
        'model' => 'Car',
        'idField' => 'id',
        'table' => 'car',
        'columns' => array('brand','model'),
        'constructBy' => 'brand'
    );
}
Return current item: LudoDB