Exemple #1
0
 /**
  * Indicates that loader columns must be included into query statement.
  *
  * @return bool
  */
 protected function isLoadable()
 {
     if (!empty($this->parent) && !$this->parent->isLoadable()) {
         //If parent not loadable we are no loadable also
         return false;
     }
     return $this->options['method'] !== self::JOIN && $this->options['method'] !== self::LEFT_JOIN;
 }