src/Server/Asyn/Mysql/Miner.php
public function getFromString($includeText = true)
    {
        $statement = "";

        if (!$this->from) {
            return $statement;
        }

        $statement .= $this->getFrom();

        if ($this->getFromAlias()) {
            $statement .= " AS " . $this->getFromAlias();
        }

        // Add any JOINs.
        $statement .= " " . $this->getJoinString();

        $statement = rtrim($statement);

        if ($includeText && $statement) {
            $statement = "FROM " . $statement;
        }

        return $statement;
    }
public function getFromString($includeText = true)
    {
        $statement = "";

        if (!$this->from) {
            return $statement;
        }

        $statement .= $this->getFrom();

        if ($this->getFromAlias()) {
            $statement .= " AS " . $this->getFromAlias();
        }

        // Add any JOINs.
        $statement .= " " . $this->getJoinString();

        $statement = rtrim($statement);

        if ($includeText && $statement) {
            $statement = "FROM " . $statement;
        }

        return $statement;
    }
public function getFromString ( $ includeText = true ) { $ statement = "" ; if ( ! $ this -> from ) { return $ statement ; } $ statement .= $ this -> getFrom ( ) ; if ( $ this -> getFromAlias ( ) ) { $ statement .= " AS " . $ this -> getFromAlias ( ) ; } // Add any JOINs. $ statement .= " " . $ this -> getJoinString ( ) ; $ statement = rtrim ( $ statement ) ; if ( $ includeText && $ statement ) { $ statement = "FROM " . $ statement ; } return $ statement ; }
Get the FROM portion of the statement, including all JOINs, as a string.

@param  bool $includeText optional include 'FROM' text, default true
@return string FROM portion of the statement
Get the FROM portion of the statement including all JOINs as a string .