• هاست سان
  • با خرید اشتراک ویژه شما میتوانید جدیدترین آپدیت افزونه ها و قالب های زیبا و پرکاربرد زنفورو را دریافت کنید!

    هر ماه یک کد تخفیف 60 درصدی محصولات فروشگاه به کاربران منتخب بخش ویژه اهدا می‌شود

What is the difference in these find calls?

وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.

XFFA.IR Bot

پرسنل مدیریت
کاربر ویژه پلاس
کاربر ویژه طلایی
امتیازها 113
راه‌حل‌ها 27
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
 
امضا : XFFA.IR Bot
وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.

موضوعات مشابه

عقب
بالا