Just a question regarding fetch/join options.
At the top of XenForo_Model_Thread there is this:
From my understanding, these constants are used to identify what other information should be pulled with the thread information. I was wondering if someone could provide a bit more insight as to how this all works as I'm a little confused. Like for example, FETCH_USER = 0x01. Is there any significance to that value or is it random?
At the top of XenForo_Model_Thread there is this:
PHP:
const FETCH_USER = 0x01;
const FETCH_FORUM = 0x02;
const FETCH_FIRSTPOST = 0x04;
const FETCH_AVATAR = 0x08;
const FETCH_DELETION_LOG = 0x10;
const FETCH_FORUM_OPTIONS = 0x20;
From my understanding, these constants are used to identify what other information should be pulled with the thread information. I was wondering if someone could provide a bit more insight as to how this all works as I'm a little confused. Like for example, FETCH_USER = 0x01. Is there any significance to that value or is it random?