src/DbAbstract.php
public function parseArrayToQuery( $params = array() )
    {
        $tmpVal = array();
        foreach($params as $k => $val){
            if(preg_match('/^([0-9]+)$/i',$k,$tmpMatch)==false) $tmpVal[] = " `$k` = "." '".$this->realEscapeString($val)."'";
        }
        return $tmpVal;
    }
public function parseArrayToQuery( $params = array() )
    {
        $tmpVal = array();
        foreach($params as $k => $val){
            if(preg_match('/^([0-9]+)$/i',$k,$tmpMatch)==false) $tmpVal[] = " `$k` = "." '".$this->realEscapeString($val)."'";
        }
        return $tmpVal;
    }
public function parseArrayToQuery ( $ params = array ( ) ) { $ tmpVal = array ( ) ; foreach ( $ params as $ k => $ val ) { if ( preg_match ( '/^([0-9]+)$/i' , $ k , $ tmpMatch ) == false ) $ tmpVal [ ] = " `$k` = " . " '" . $ this -> realEscapeString ( $ val ) . "'" ; } return $ tmpVal ; }
키:값 배열을 쿼리문에 넣기좋게 만들어준다
@param array $params
@return array
키 : 값 배열을 쿼리문에 넣기좋게 만들어준다