[RSS Feed/News] What is the difference in these find calls?

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
I am rewriting an old add-on as well as adding a few new features to it as a project to get more familiar with xenForo 2.2 code structure, classes and such. I have three different lines of code that seem to all do the exact same thing and work and I am confused on why they all three work and which one I should be using.

The three pieces of code are:

PHP:

$this->app->find()
PHP:

$this->app()->find()
PHP:

$this->app->em()->find

All three work and all three return the data I am...

Read more
Read more about this Feed . . .
 
Status
Not open for further replies.
Back
Top Bottom