src/Zicht/Bundle/AdminBundle/Service/Quicklist.php
public function createResultRecord($record, $admin)
    {
        $resultRecord = array(
            'label' => (string)$record,
            'value' => (string)$record,
            'url' => ($admin ? $admin->generateObjectUrl('edit', $record) : null),
            'id' => ($admin ? $admin->id($record) : null)
        );
        return $resultRecord;
    }
public function createResultRecord($record, $admin)
    {
        $resultRecord = array(
            'label' => (string)$record,
            'value' => (string)$record,
            'url' => ($admin ? $admin->generateObjectUrl('edit', $record) : null),
            'id' => ($admin ? $admin->id($record) : null)
        );
        return $resultRecord;
    }
public function createResultRecord ( $ record , $ admin ) { $ resultRecord = array ( 'label' => ( string ) $ record , 'value' => ( string ) $ record , 'url' => ( $ admin ? $ admin -> generateObjectUrl ( 'edit' , $ record ) : null ) , 'id' => ( $ admin ? $ admin -> id ( $ record ) : null ) ) ; return $ resultRecord ; }
Creates result record

@param object $record
@param object $admin
@return array
Creates result record