Welcome Guest, Not a member yet? Register   Sign In
Can I send my attributes to the model __construct

Can I get several instanses of one model class, how it is possible to pass different data to it`s constructor.

[eluser]Colin Williams[/eluser]
Load the model:


Then create new instances as you normally would with PHP:

$blog = new Blog_model($param, $param2);

Theme © iAndrew 2016 - Forum software by © MyBB