Forked from http://www.yiiframework.com/extension/phppdo