public function getRecordList(Model $model) {
        if ($model->hasMethod('generateTreeList')) {
            return $model->generateTreeList(null, null, null, ' -- ');

        } else if ($model->hasMethod('getList')) {
            return $model->getList();
        }

        return $model->find('list', array(
            'order' => array($model->alias . '.' . $model->displayField => 'ASC')
        ));
    }