protected function getStatement($statement)
    {
        $key = $this->getStatementKey($statement);
    	$sth = null;
    	
    	if (!empty($this->statements[$key])){
    		$sth = $this->statements[$key];
    	}
    	else{
    		$sth = $this->dbConnector->prepare($statement);
    		$this->statements[$key] = $sth;
    	}
    	
    	return $sth;

    }
protected function getStatement($statement)
    {
        $key = $this->getStatementKey($statement);
    	$sth = null;
    	
    	if (!empty($this->statements[$key])){
    		$sth = $this->statements[$key];
    	}
    	else{
    		$sth = $this->dbConnector->prepare($statement);
    		$this->statements[$key] = $sth;
    	}
    	
    	return $sth;

    }
protected function getStatement ( $ statement ) { $ key = $ this -> getStatementKey ( $ statement ) ; $ sth = null ; if ( ! empty ( $ this -> statements [ $ key ] ) ) { $ sth = $ this -> statements [ $ key ] ; } else { $ sth = $ this -> dbConnector -> prepare ( $ statement ) ; $ this -> statements [ $ key ] = $ sth ; } return $ sth ; }
Get a statement in the statement store regarding the provided statement.
it could not be found, NULL is returned.

@access protected
@author Jerome Bogaerts, <jerome@taotesting.com>
@param  string statement
@return PDOStatement
Get a statement in the statement store regarding the provided statement . it could not be found NULL is returned .