public function getQueryHelper()
    {
        if (!$this->queryHelper) {
            $this->queryHelper = new QueryHelper($this->db);

            if ($this->table) {
                $this->queryHelper->addTable($this->alias ?: $this->table, $this->table);
            }
        }

        return $this->queryHelper;
    }
public function getQueryHelper()
    {
        if (!$this->queryHelper) {
            $this->queryHelper = new QueryHelper($this->db);

            if ($this->table) {
                $this->queryHelper->addTable($this->alias ?: $this->table, $this->table);
            }
        }

        return $this->queryHelper;
    }
public function getQueryHelper ( ) { if ( ! $ this -> queryHelper ) { $ this -> queryHelper = new QueryHelper ( $ this -> db ) ; if ( $ this -> table ) { $ this -> queryHelper -> addTable ( $ this -> alias ? : $ this -> table , $ this -> table ) ; } } return $ this -> queryHelper ; }
Method to get property QueryHelper

@return  QueryHelper
Method to get property QueryHelper