protected static function makeUpdateParameter($data)
    {
        foreach ($data as $field => $value) {
            $newData[] = "{$field}=:{$field}";
        }

        $newData = implode(",", $newData); // override new data

        return $newData;
    }
protected static function makeUpdateParameter($data)
    {
        foreach ($data as $field => $value) {
            $newData[] = "{$field}=:{$field}";
        }

        $newData = implode(",", $newData); // override new data

        return $newData;
    }
protected static function makeUpdateParameter ( $ data ) { foreach ( $ data as $ field => $ value ) { $ newData [ ] = "{$field}=:{$field}" ; } $ newData = implode ( "," , $ newData ) ; // override new data return $ newData ; }
Make Update Parameter

@param  array $data
@return array
Make Update Parameter