Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force load() a model #3

Open
enov opened this issue Oct 22, 2013 · 0 comments
Open

Force load() a model #3

enov opened this issue Oct 22, 2013 · 0 comments

Comments

@enov
Copy link
Owner

enov commented Oct 22, 2013

If you know you want a model to load via Aurora, you would do:

$model = Model::factory('Feed_Item');
Au::load($model, array('email' => '[email protected]')); // load a model from first row returned

However, it would be nice if we also have this:

// won't work now:
$model = Au::load('Model_Feed_Item', array('email' => '[email protected]'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant