public function useTransaction($yn = null)
    {
        if ($yn !== null) {
            $this->useTransaction = (bool) $yn;
        }

        return $this->useTransaction;
    }
public function useTransaction($yn = null)
    {
        if ($yn !== null) {
            $this->useTransaction = (bool) $yn;
        }

        return $this->useTransaction;
    }
public function useTransaction ( $ yn = null ) { if ( $ yn !== null ) { $ this -> useTransaction = ( bool ) $ yn ; } return $ this -> useTransaction ; }
To use transaction or not.

@param boolean $yn Yes or no, keep default that we get this value.

@return  boolean
To use transaction or not .