protected function getSelect($table = null)
    {
        $this->initialize();

        $select = $this->getSlaveSql()->select();

        $select->from($table ?: $this->getTableName());

        return $select;
    }
protected function getSelect($table = null)
    {
        $this->initialize();

        $select = $this->getSlaveSql()->select();

        $select->from($table ?: $this->getTableName());

        return $select;
    }
protected function getSelect ( $ table = null ) { $ this -> initialize ( ) ; $ select = $ this -> getSlaveSql ( ) -> select ( ) ; $ select -> from ( $ table ? : $ this -> getTableName ( ) ) ; return $ select ; }
The version allows read-write access.

@param  string $table

@return \Zend\Db\Sql\Select
The version allows read - write access .