Adrian Voicu

Results 41 comments of Adrian Voicu

Are you sure it is line 473? Because looking at MY_Model, I don't see anything written on that line...

never thought of that. What would that entail? Is it only the location of the controllers, views, and models?

when using cli, you must go to where the main index.php is (the one that instantiates CodeIgniter). and from there use matches.

That would make sense. Please, make a PR.

https://github.com/avenirer/CodeIgniter-MY_Model#retrieve-data-from-nested-relationships-or-should-we-say-retrieve-nested-relationships-data As mentioned in the tutorial, you do have to add the fields you want to retrieve from the relationship.

can I see how you defined the models? the code, preferably... and also how the tables look...

Did you pass the id of the row? The primary key...

If you tell the model that the table name in the relation is "standard_design", it will take your word for it... ```php $this->has_many['standard_designs'] = array( 'foreign_model' => 'standard_design_m', 'foreign_table' =>...

I am referring to the fact that you mentioned in there the foreign_table...

Wouldn't it be better to do a check inside the hook. What I mean by this is the fact that you can check if the array passed to the hook...