public function fetchAll($returnType = Table::RETURN_MODEL) {
        $return = $this->select(array(), $returnType);
        if (is_a($return, 'DBScribe\Table')) $return = $return->execute();
        if (is_bool($return)) return new ArrayCollection();

        return $return;
    }
public function fetchAll($returnType = Table::RETURN_MODEL) {
        $return = $this->select(array(), $returnType);
        if (is_a($return, 'DBScribe\Table')) $return = $return->execute();
        if (is_bool($return)) return new ArrayCollection();

        return $return;
    }
public function fetchAll ( $ returnType = Table :: RETURN_MODEL ) { $ return = $ this -> select ( array ( ) , $ returnType ) ; if ( is_a ( $ return , 'DBScribe\Table' ) ) $ return = $ return -> execute ( ) ; if ( is_bool ( $ return ) ) return new ArrayCollection ( ) ; return $ return ; }
Fetches all rows in the database
@param int $returnType Indicates the type of return expected.
Possible values (Table::RETURN_MODEL | Table::RETURN_JSON | Table::RETURN_DEFAULT)
@return mixed
Fetches all rows in the database