public static function paramify($data, $omit=Array())
    {

        $params = Array();

        if(is_object($data)){
            $data = get_object_vars($data);
        }

        if(is_array($data)){
            foreach($data as $key=>$val){
                if(!in_array($key, $omit)){
                    $params[':'.$key] = $val;
                }
            }
        }

        return $params;
    }