public function getSqlSegment()
    {
        if (!empty($this->sqlSegment)) {
            return $this->sqlSegment;
        }

        if ($this->dbTableName && $this->columnName) {
            return $this->dbTableName . '.' . $this->columnName;
        }
    }
public function getSqlSegment()
    {
        if (!empty($this->sqlSegment)) {
            return $this->sqlSegment;
        }

        if ($this->dbTableName && $this->columnName) {
            return $this->dbTableName . '.' . $this->columnName;
        }
    }
public function getSqlSegment ( ) { if ( ! empty ( $ this -> sqlSegment ) ) { return $ this -> sqlSegment ; } if ( $ this -> dbTableName && $ this -> columnName ) { return $ this -> dbTableName . '.' . $ this -> columnName ; } }
Returns a sql segment expression for this dimension.
@return string
@api since Piwik 3.2.0
Returns a sql segment expression for this dimension .