Skip to content

Default finder options in model #353

Open
@pmtarantino

Description

@pmtarantino

I did some changes in my local copy of php-active-record, because I needed to set up default values for the finder for each model.

For example:

class Person extends ActiveRecord\Model {
     *   static $default_options = array('order' => 'name ASC', 'limit' => 15);
     * }

I wanted to do a pull request, but I saw there were too many open requests, and they seem to be ignored.

Are you ignoring them on purpose or what? I'd like to collaborate with this (in fact, it's a simple change on the Model.php file), but I wouldn't like to be ignored :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions