How do I get a variable into my controller?

  • Thread starter Thread starter grantus
  • Start date Start date

grantus

Guest
Member
I have two things I'm trying to understand with the Xenforo system.

Let's say I have two tables: MyTable1 and MyTable2. I want to query MyTable1 and use that column value in my query for MyTable2.

In PHP I would simply do a query on MyTable1, set a variable then use that variable in my query for MyTable2.

The second thing is I would use $_GET to get from a URL then use that value in my query.

How can I do these with the Entity/Controller?

I understand about relations in the Entity...

Read more

Continue reading...
 
Top